mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
feat(aihubmix): support gpt oss models (#8884)
Update AihubmixAPIClient.ts Co-authored-by: zhaochenxue <zhaochenxue@bixin.cn>
This commit is contained in:
parent
f15a613b16
commit
ef208bf9e5
@ -82,8 +82,8 @@ export class AihubmixAPIClient extends MixedBaseAPIClient {
|
||||
return client
|
||||
}
|
||||
|
||||
// OpenAI系列模型
|
||||
if (isOpenAILLMModel(model)) {
|
||||
// OpenAI系列模型 不包含gpt-oss
|
||||
if (isOpenAILLMModel(model) && !model.id.includes('gpt-oss')) {
|
||||
const client = this.clients.get('openai')
|
||||
if (!client || !this.isValidClient(client)) {
|
||||
throw new Error('OpenAI client not properly initialized')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user