Elffuss BraidHub

kikocis/continue public

Merge pull request #7626 from shloimy-wiesel/fix/autocomplete-yaml-transform-flag

fix: Add missing transform option to YAML autocomplete configuration
Changeset562def2ea40dd4275e40a25ca878a9d5563627dd72db711c84cca62f9ee0a2ae
AuthorDallin Romney <dallinromney@gmail.com> · 2025-09-11 15:08 -07:00
CommitterGitHub <noreply@github.com> · 2025-09-11 15:08 -07:00
Parentsb52e46b3a12e, 2596254c9580

Browse the files at this changeset

2 files changed

modified docs/reference.mdx +1 −0
@@ -251,6 +251,7 @@
251251 - `modelTimeout`: Model timeout for autocomplete requests in milliseconds.
252252 - `maxSuffixPercentage`: Maximum percentage of prompt allocated for suffix.
253253 - `prefixPercentage`: Percentage of input allocated for prefix.
254+ - `transform`: If `false`, disables trimming of multiline completions. Defaults to `true`. Useful for models that generate better multiline completions without transformations.
254255 - `template`: Custom template for autocomplete using Mustache syntax. You can use the `{{{ prefix }}}`, `{{{ suffix }}}`, `{{{ filename }}}`, `{{{ reponame }}}`, and `{{{ language }}}` variables.
255256 - `onlyMyCode`: Only includes code within the repository for context.
256257 - `useCache`: If `true`, enables caching for completions.
modified packages/config-yaml/src/schemas/models.ts +1 −0
@@ -121,6 +121,7 @@
121121 modelTimeout: z.number().optional(),
122122 maxSuffixPercentage: z.number().optional(),
123123 prefixPercentage: z.number().optional(),
124+ transform: z.boolean().optional(),
124125 template: z.string().optional(),
125126 onlyMyCode: z.boolean().optional(),
126127 useCache: z.boolean().optional(),