mirror of
https://github.com/ONLYOFFICE/desktop-sdk.git
synced 2026-02-10 18:15:05 +08:00
AIAgent: fix openrouter
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -43,6 +43,7 @@ const ServersSettings = () => {
|
||||
servers["web-search"][0].name,
|
||||
!webSearchEnabled
|
||||
);
|
||||
window.dispatchEvent(new CustomEvent("tools-changed"));
|
||||
},
|
||||
},
|
||||
{ text: "", onClick: () => {}, isSeparator: true },
|
||||
|
||||
@ -319,8 +319,8 @@ class OpenRouterProvider
|
||||
model.id === "anthropic/claude-haiku-4.5" ||
|
||||
model.id === "anthropic/claude-sonnet-4.5" ||
|
||||
model.id === "x-ai/grok-4" ||
|
||||
model.id === "google/gemini-2.5-flash" ||
|
||||
model.id === "google/gemini-2.5-pro" ||
|
||||
// model.id === "google/gemini-2.5-flash" ||
|
||||
// model.id === "google/gemini-2.5-pro" ||
|
||||
model.id === "deepseek/deepseek-chat-v3.1" ||
|
||||
model.id === "qwen/qwen3-235b-a22b-2507"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user