mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-12 00:49:14 +08:00
fix: openrouter bug
This commit is contained in:
parent
d35346f5ad
commit
f4387d22a6
@ -285,6 +285,8 @@ export const getProviderAnthropicModelChecker = (providerId: string): ((m: Model
|
||||
return (m: Model) => isSiliconAnthropicCompatibleModel(m.id)
|
||||
case 'ppio':
|
||||
return (m: Model) => isPpioAnthropicCompatibleModel(m.id)
|
||||
case 'openrouter':
|
||||
return (m: Model) => !m.id.includes('gemini-3') // gemini-3 需要客户端自己维护thinkingSignature
|
||||
default:
|
||||
// allow all models when checker not configured
|
||||
return () => true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user