Changesets · Branches · Tags · Compare
| Changeset | 562def2ea40dd4275e40a25ca878a9d5563627dd72db711c84cca62f9ee0a2ae |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-09-11 15:08 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-11 15:08 -07:00 |
| Parents | b52e46b3a12e, 2596254c9580 |
2 files changed
modified docs/reference.mdx +1 −0
| @@ -251,6 +251,7 @@ | ||
| 251 | 251 | - `modelTimeout`: Model timeout for autocomplete requests in milliseconds. |
| 252 | 252 | - `maxSuffixPercentage`: Maximum percentage of prompt allocated for suffix. |
| 253 | 253 | - `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. | |
| 254 | 255 | - `template`: Custom template for autocomplete using Mustache syntax. You can use the `{{{ prefix }}}`, `{{{ suffix }}}`, `{{{ filename }}}`, `{{{ reponame }}}`, and `{{{ language }}}` variables. |
| 255 | 256 | - `onlyMyCode`: Only includes code within the repository for context. |
| 256 | 257 | - `useCache`: If `true`, enables caching for completions. |
modified packages/config-yaml/src/schemas/models.ts +1 −0
| @@ -121,6 +121,7 @@ | ||
| 121 | 121 | modelTimeout: z.number().optional(), |
| 122 | 122 | maxSuffixPercentage: z.number().optional(), |
| 123 | 123 | prefixPercentage: z.number().optional(), |
| 124 | + transform: z.boolean().optional(), | |
| 124 | 125 | template: z.string().optional(), |
| 125 | 126 | onlyMyCode: z.boolean().optional(), |
| 126 | 127 | useCache: z.boolean().optional(), |