Merge pull request #7626 from shloimy-wiesel/fix/autocomplete-yaml-transform-flag
fix: Add missing transform option to YAML autocomplete configuration
This commit is contained in:
commit
dcf07a0cf3
2 changed files with 2 additions and 0 deletions
|
|
@ -251,6 +251,7 @@ The `models` section defines the language models used in your configuration. Mod
|
|||
- `modelTimeout`: Model timeout for autocomplete requests in milliseconds.
|
||||
- `maxSuffixPercentage`: Maximum percentage of prompt allocated for suffix.
|
||||
- `prefixPercentage`: Percentage of input allocated for prefix.
|
||||
- `transform`: If `false`, disables trimming of multiline completions. Defaults to `true`. Useful for models that generate better multiline completions without transformations.
|
||||
- `template`: Custom template for autocomplete using Mustache syntax. You can use the `{{{ prefix }}}`, `{{{ suffix }}}`, `{{{ filename }}}`, `{{{ reponame }}}`, and `{{{ language }}}` variables.
|
||||
- `onlyMyCode`: Only includes code within the repository for context.
|
||||
- `useCache`: If `true`, enables caching for completions.
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ export const autocompleteOptionsSchema = z.object({
|
|||
modelTimeout: z.number().optional(),
|
||||
maxSuffixPercentage: z.number().optional(),
|
||||
prefixPercentage: z.number().optional(),
|
||||
transform: z.boolean().optional(),
|
||||
template: z.string().optional(),
|
||||
onlyMyCode: z.boolean().optional(),
|
||||
useCache: z.boolean().optional(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue