fix: 修正o1模型无法使用的问题
This commit is contained in:
parent
f7f8c6f0c6
commit
75742323ea
@ -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…
x
Reference in New Issue
Block a user