mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-02 03:42:38 +02:00
add ollama support
This commit is contained in:
parent
51e29af12e
commit
13955b6829
5 changed files with 55 additions and 6 deletions
|
|
@ -1,9 +1,10 @@
|
|||
import z from "zod";
|
||||
|
||||
export const Provider = z.object({
|
||||
flavor: z.enum(["openai", "anthropic", "google"]),
|
||||
flavor: z.enum(["openai", "anthropic", "google", "ollama"]),
|
||||
apiKey: z.string().optional(),
|
||||
baseURL: z.string().optional(),
|
||||
headers: z.record(z.string(), z.string()).optional(),
|
||||
});
|
||||
|
||||
export const ModelConfig = z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue