mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-27 01:16:23 +02:00
When signed in, default assistant to gpt-5.4, knowledge graph agents to gpt-5.4-nano, inline task agent to gpt-5.4-mini, and meeting notes to gpt-5.4. Add meetingNotesModel config field. Fix summarize_meeting to use gateway provider when signed in. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
526 B
TypeScript
16 lines
526 B
TypeScript
import { z } from "zod";
|
|
|
|
export const LlmProvider = z.object({
|
|
flavor: z.enum(["openai", "anthropic", "google", "openrouter", "aigateway", "ollama", "openai-compatible"]),
|
|
apiKey: z.string().optional(),
|
|
baseURL: z.string().optional(),
|
|
headers: z.record(z.string(), z.string()).optional(),
|
|
});
|
|
|
|
export const LlmModelConfig = z.object({
|
|
provider: LlmProvider,
|
|
model: z.string(),
|
|
models: z.array(z.string()).optional(),
|
|
knowledgeGraphModel: z.string().optional(),
|
|
meetingNotesModel: z.string().optional(),
|
|
});
|