mirror of https://github.com/openclaw/openclaw.git
feat(ollama): add 'ollama' to ModelApi type union (#11828)
This commit is contained in:
parent
5378583da1
commit
91dda25d3b
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue