mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
fix: 修正o1模型无法使用的问题
This commit is contained in:
parent
25448beb92
commit
da81b048dd
@ -191,7 +191,7 @@ export default class OpenAIProvider extends BaseProvider {
|
||||
userMessages.push(await this.getMessageParam(message, model))
|
||||
}
|
||||
|
||||
const isOpenAIo1 = model.id.includes('o1-')
|
||||
const isOpenAIo1 = model.id.includes('o1-') || model.id === 'o1'
|
||||
|
||||
const isSupportStreamOutput = () => {
|
||||
if (this.provider.id === 'github' && isOpenAIo1) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user