-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
Unsupported value: 'stream' does not support true with this model. Supported values are: false #5407
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Hello, @Payne-Wang! I'm here to assist you with any bugs, questions, or contributions. Let's tackle this issue together! The error "Unsupported value: 'stream' does not support true with this model" occurs because the o1 model has beta limitations and does not support streaming when using a custom proxy endpoint. To resolve this issue, ensure you are using OpenAI's official API endpoint, as the o1 model supports streaming through OpenAI's official API. Additionally, update your Docker image to the latest version from Docker Hub, as this issue was resolved in version #5183 [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
The error you're encountering, "Unsupported value: 'stream' does not support true with this model," is related to the OpenAI o1 model's limitations regarding streaming. This issue was previously addressed and resolved in pull request #5183. To resolve this, ensure that you are using the latest Docker image from Docker Hub, as the fix should be included in the most recent version [1]. Additionally, if you are using a custom proxy endpoint, consider switching to OpenAI's official API endpoint. The o1 model supports streaming through the official API but may not through custom proxy endpoints [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
這個問題與 #5063 同樣問題,這邊同樣希望可以獲得 Lobechat 更新支援。 |
This issue is the same as #5063. We also hope to get Lobechat update support. |
I need assistance
…On Sat, Jan 11, 2025 at 8:54 PM dosubot[bot] ***@***.***> wrote:
Hello, @Payne-Wang <https://github.com/Payne-Wang>! I'm here to assist
you with any bugs, questions, or contributions. Let's tackle this issue
together!
The error "Unsupported value: 'stream' does not support true with this
model" occurs because the o1 model has beta limitations and does not
support streaming when using a custom proxy endpoint. To resolve this
issue, ensure you are using OpenAI's official API endpoint, as the o1 model
supports streaming through OpenAI's official API. Additionally, update your
Docker image to the latest version from Docker Hub, as this issue was
resolved in version #5183 <#5183>
[1] <#5018>[2]
<#5228>.
*To continue talking to Dosu <https://dosu.dev>, mention @dosu
<https://github.com/dosu>.*
------------------------------
Help Dosu learn! Give it feedback: Great Response
<https://app.dosu.dev/response-feedback/42d967d9-4172-4a25-b9ae-4ed92f383752?feedback_type=great_response>
| Irrelevant Answer
<https://app.dosu.dev/response-feedback/42d967d9-4172-4a25-b9ae-4ed92f383752?feedback_type=irrelevant_answer>
| Incorrect Sources
<https://app.dosu.dev/response-feedback/42d967d9-4172-4a25-b9ae-4ed92f383752?feedback_type=incorrect_sources>
| Too Verbose
<https://app.dosu.dev/response-feedback/42d967d9-4172-4a25-b9ae-4ed92f383752?feedback_type=too_verbose>
| Hallucination
<https://app.dosu.dev/response-feedback/42d967d9-4172-4a25-b9ae-4ed92f383752?feedback_type=hallucination>
| Other
<https://app.dosu.dev/response-feedback/42d967d9-4172-4a25-b9ae-4ed92f383752?feedback_type=other>
—
Reply to this email directly, view it on GitHub
<#5407 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BM72DGGIUCPJQURZGBVW7ML2KHYRRAVCNFSM6AAAAABVAUSX3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVGU4DOMBWGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
The issue you're experiencing with the o1 model's streaming capabilities is related to its beta limitations when using a custom proxy endpoint. This problem was addressed in pull request #5183, which fixed the o1Models list. To resolve this, ensure you are using the latest Docker image for LobeChat, as the fix is included in the most recent version [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Same issue observed on the latest image version. |
📦 Environment
Docker
📌 Version
lobehub/lobe-chat:latest
💻 Operating System
Ubuntu
🌐 Browser
Chrome
🐛 Bug Description
{
"error": {
"message": "Unsupported value: 'stream' does not support true with this model. Supported values are: false.",
"type": "invalid_request_error",
"param": "stream",
"code": "unsupported_value"
},
"endpoint": "http://:/v1",
"provider": "openai"
}
📷 Recurrence Steps
刚更新好的lobechat(lobehub/lobe-chat:latest),在docker的yml文件中添加上o1之后,报上述错误
注:
o1模型是openai的官方key+newapi中转,再接入lobechat的
看了一下之前的issue,似乎stream这个bug已经解决,不知为啥在最近的镜像中仍然可以被复现
请大佬看下,谢谢!
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: