feat(ollama): add 'ollama' to ModelApi type union (#11828)

This commit is contained in:
BrokenFinger98 2026-02-08 21:16:43 +09:00 committed by Peter Steinberger
parent 5378583da1
commit 91dda25d3b
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,8 @@ export type ModelApi =
| "anthropic-messages"
| "google-generative-ai"
| "github-copilot"
| "bedrock-converse-stream";
| "bedrock-converse-stream"
| "ollama";
export type ModelCompatConfig = {
supportsStore?: boolean;

View File

@ -9,6 +9,7 @@ export const ModelApiSchema = z.union([
z.literal("google-generative-ai"),
z.literal("github-copilot"),
z.literal("bedrock-converse-stream"),
z.literal("ollama"),
]);
export const ModelCompatSchema = z