diff --git a/packages/config-yaml/src/schemas/models.ts b/packages/config-yaml/src/schemas/models.ts index 1f758fa5b..0b9b8202d 100644 --- a/packages/config-yaml/src/schemas/models.ts +++ b/packages/config-yaml/src/schemas/models.ts @@ -37,11 +37,10 @@ export const modelCapabilitySchema = z.union([ z.literal("tool_use"), z.literal("image_input"), z.literal("next_edit"), - z.string(), + z.string(), // Needed for forwards compatibility, see https://github.com/continuedev/continue/pull/7676 ]); // not ideal but lose type suggestions if use z.infer because of the string fallback - export type ModelCapability = "tool_use" | "image_input" | "next_edit"; export const completionOptionsSchema = z.object({