Changesets · Branches · Tags · Compare
| Changeset | 282e0c4c7843d20450eadd67580301becb3ee76b01c651bc7d61b2ca508c9519 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-09-09 18:23 -07:00 |
| Committer | Dallin Romney <dallinromney@gmail.com> · 2025-09-09 18:23 -07:00 |
| Parents | f9f287414473 |
1 file changed
modified packages/config-yaml/src/schemas/models.ts +1 −2
| @@ -37,11 +37,10 @@ | ||
| 37 | 37 | z.literal("tool_use"), |
| 38 | 38 | z.literal("image_input"), |
| 39 | 39 | z.literal("next_edit"), |
| 40 | - z.string(), | |
| 40 | + z.string(), // Needed for forwards compatibility, see https://github.com/continuedev/continue/pull/7676 | |
| 41 | 41 | ]); |
| 42 | 42 | |
| 43 | 43 | // not ideal but lose type suggestions if use z.infer because of the string fallback |
| 44 | - | |
| 45 | 44 | export type ModelCapability = "tool_use" | "image_input" | "next_edit"; |
| 46 | 45 | |
| 47 | 46 | export const completionOptionsSchema = z.object({ |