mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-27 04:31:27 +08:00
fix(aihubmix): fix model route rules (#10878)
Update aihubmix.ts
(cherry picked from commit 50798280db)
This commit is contained in:
parent
a91c35de32
commit
a9a16ceb3e
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* AiHubMix规则集
|
||||
*/
|
||||
import { isOpenAIModel } from '@renderer/config/models'
|
||||
import { isOpenAILLMModel } from '@renderer/config/models'
|
||||
import { Provider } from '@renderer/types'
|
||||
|
||||
import { provider2Provider, startsWith } from './helper'
|
||||
@ -42,7 +42,7 @@ const AIHUBMIX_RULES: RuleSet = {
|
||||
}
|
||||
},
|
||||
{
|
||||
match: isOpenAIModel,
|
||||
match: isOpenAILLMModel,
|
||||
provider: (provider: Provider) => {
|
||||
return extraProviderConfig({
|
||||
...provider,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user