Changesets · Branches · Tags · Compare
| Changeset | f9f2874144731e6b92bf99e21f9782e61a203c4052f9035e979cc3489523c86c |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-09-09 18:21 -07:00 |
| Committer | Dallin Romney <dallinromney@gmail.com> · 2025-09-09 18:21 -07:00 |
| Parents | 8c097bfc78a4 |
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 +5 −1
| @@ -37,8 +37,12 @@ | ||
| 37 | 37 | z.literal("tool_use"), |
| 38 | 38 | z.literal("image_input"), |
| 39 | 39 | z.literal("next_edit"), |
| 40 | + z.string(), | |
| 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 | + | |
| 45 | +export type ModelCapability = "tool_use" | "image_input" | "next_edit"; | |
| 42 | 46 | |
| 43 | 47 | export const completionOptionsSchema = z.object({ |
| 44 | 48 | contextLength: z.number().optional(), |