Changesets · Branches · Tags · Compare
| Changeset | 672c3e053fed7690ab5c9923e6230f9046456d0f9fb6186a6d8c91c7f80ff136 |
|---|---|
| Author | Nate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-09-09 21:37 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-09 21:37 -07:00 |
| Parents | d3a66b9ab40e, 282e0c4c7843 |
2 files changed
modified .vscode/settings.json +2 −1
| @@ -43,7 +43,8 @@ | ||
| 43 | 43 | "extensions/vscode/e2e/storage": true, |
| 44 | 44 | "extensions/vscode/e2e/vsix": true, |
| 45 | 45 | "extensions/.continue-debug": true, |
| 46 | - "extensions/cli/dist/**": true | |
| 46 | + "extensions/cli/dist/**": true, | |
| 47 | + "packages/config-yaml/dist/**": true | |
| 47 | 48 | // "sync/**": true |
| 48 | 49 | }, |
| 49 | 50 | "editor.formatOnSave": true, |
modified packages/config-yaml/src/schemas/models.ts +4 −1
| @@ -37,8 +37,11 @@ | ||
| 37 | 37 | z.literal("tool_use"), |
| 38 | 38 | z.literal("image_input"), |
| 39 | 39 | z.literal("next_edit"), |
| 40 | + z.string(), // Needed for forwards compatibility, see https://github.com/continuedev/continue/pull/7676 | |
| 40 | 41 | ]); |
| 41 | -export type ModelCapability = z.infer<typeof modelCapabilitySchema>; | |
| 42 | + | |
| 43 | +// not ideal but lose type suggestions if use z.infer because of the string fallback | |
| 44 | +export type ModelCapability = "tool_use" | "image_input" | "next_edit"; | |
| 42 | 45 | |
| 43 | 46 | export const completionOptionsSchema = z.object({ |
| 44 | 47 | contextLength: z.number().optional(), |