diff --git a/server/llm/textService.ts b/server/llm/textService.ts index afcbee1..3125a79 100644 --- a/server/llm/textService.ts +++ b/server/llm/textService.ts @@ -15,7 +15,7 @@ import { const DEFAULT_MODELS: Record = { openai: "gpt-4o-mini", - anthropic: "claude-sonnet-4-5", + anthropic: "claude-sonnet-4-6", google: "gemini-2.5-flash", ollama: "gpt-oss:20b", grok: "grok-4-1-fast-reasoning", @@ -24,6 +24,13 @@ const DEFAULT_MODELS: Record = { const PROVIDER_MODEL_SUGGESTIONS: Partial> = { openai: [ + "gpt-5.4", + "gpt-5.4-mini", + "gpt-5.4-nano", + "gpt-5.4-pro", + "o3", + "o3-pro", + "o4-mini", "gpt-5.2", "gpt-5.1", "gpt-5", @@ -35,13 +42,20 @@ const PROVIDER_MODEL_SUGGESTIONS: Partial> = "gpt-4.1-mini", ], anthropic: [ + "claude-sonnet-4-6", + "claude-opus-4-6", "claude-sonnet-4-5", "claude-haiku-4-5", "claude-opus-4-1-20250805", "claude-opus-4-5-20251101", "claude-3-5-haiku-latest", ], - google: ["gemini-3.1-pro-preview", "gemini-2.5-pro", "gemini-2.5-flash"], + google: [ + "gemini-3.1-pro-preview", + "gemini-3.1-flash-lite-preview", + "gemini-2.5-pro", + "gemini-2.5-flash", + ], ollama: [ "gpt-oss:20b", "gpt-oss:120b", diff --git a/src/config/roles.ts b/src/config/roles.ts index b3a6a91..df4d651 100644 --- a/src/config/roles.ts +++ b/src/config/roles.ts @@ -256,6 +256,8 @@ export const ROLES: Role[] = [ "presentSpreadsheet", "showPresentation", "generateImage", + "searchWeb", + "browse", "switchRole", ], prompt: