Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 无法正常通过API使用o1模型 #262

Open
1152106303 opened this issue Sep 26, 2024 · 1 comment
Open

[BUG] 无法正常通过API使用o1模型 #262

1152106303 opened this issue Sep 26, 2024 · 1 comment

Comments

@1152106303
Copy link

在通过API调用GPT-o1模型时 报错 error, status code: 400, message: Unsupported value: 'stream' does not support true with this model. Only the default (false) value is supported. 无法正常进行对话

似乎是因为流式传输导致的问题,但是我不知道怎么关闭这个功能。

@juzeon
Copy link
Owner

juzeon commented Sep 26, 2024

songquanpeng/one-api#1827

除了stream还有max_tokens、system角色等问题需要解决。需要处理的地方还挺多的,目前底层的库都还没适配。先等等看其他项目是怎么处理的吧。如果one-api直接适配过来的话直接接入中转一下就行了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants