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]: o1-mini模型对话报错 #1160

Closed
1 of 2 tasks
crosswk opened this issue Sep 14, 2024 · 3 comments
Closed
1 of 2 tasks

[Bug]: o1-mini模型对话报错 #1160

crosswk opened this issue Sep 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@crosswk
Copy link

crosswk commented Sep 14, 2024

这个bug是否已存在现有issue了?

  • 我确认没有已有issue,且已阅读常见问题

错误表现

o1-mini不支持system字段了。

复现操作

正常部署最新版本

错误日志

前端报错:
☹️发生了错误:Unsupported value: 'messages[0].role' does not support 'system' with this model. (request id: 2024091403134518573335634751935)


后端报错:
Exception: {"error":{"message":"Unsupported value: 'messages[0].role' does not support 'system' with this model. (request id: 2024091403134518573335634751935)","type":"invalid_request_error","param":"messages[0].role","code":"unsupported_value"}}

运行环境

  • OS:
  • Browser:
  • Gradio version:
  • Python version:

帮助解决

  • 我愿意协助解决!

补充说明

No response

@crosswk crosswk added the bug Something isn't working label Sep 14, 2024
@GaiZhenbiao
Copy link
Owner

应该修复了

@crosswk
Copy link
Author

crosswk commented Sep 14, 2024

o1还不支持流式传输了,能否选择这个模型是,自动关闭流式传输。Unsupported value: 'stream' does not support true with this model. Only the default (false) value is supported. (request id: 202409140926411873031618470080) @GaiZhenbiao

@GaiZhenbiao
Copy link
Owner

226a9b2 中,o1 模型的流式传输功能被默认关闭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants