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] Unsupported 'stream' Parameter Issue with o3-mini Model via GitHub Provider #5644

Open
ShinChven opened this issue Jan 31, 2025 · 5 comments · May be fixed by #5657
Open

[Bug] Unsupported 'stream' Parameter Issue with o3-mini Model via GitHub Provider #5644

ShinChven opened this issue Jan 31, 2025 · 5 comments · May be fixed by #5657
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@ShinChven
Copy link

📦 Environment

Docker

📌 Version

v1.49.5

💻 Operating System

macOS

🌐 Browser

Chrome

🐛 Bug Description

The error occurs when attempting to call the o3-mini model via the GitHub Provider, as the 'stream' parameter is set to true, which is unsupported for this model and must be set to false instead.

{
  "error": {
    "code": "unsupported_value",
    "type": "invalid_request_error",
    "param": "stream",
    "message": "Unsupported value: 'stream' does not support true with this model. Supported values are: false.",
    "callstack": ""
  },
  "endpoint": "https://models.inference.ai.azure.com",
  "provider": "github"
}

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

@ShinChven ShinChven added the 🐛 Bug Something isn't working | 缺陷 label Jan 31, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Jan 31, 2025
@lobehubbot
Copy link
Member

👀 @ShinChven

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Copy link

dosubot bot commented Jan 31, 2025

To resolve the unsupported 'stream' parameter issue with the o3-mini model via the GitHub Provider, ensure that the stream parameter is set to false in your request. Here's how you should configure the parameters:

{
  "messages": [
    {
      "role": "developer",
      "content": [...]
    }
  ],
  "reasoning_effort": "medium",
  "stream": false
}

Make sure the stream parameter is explicitly set to false to avoid the error [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

Copy link

dosubot bot commented Jan 31, 2025

To resolve the unsupported 'stream' parameter issue with the o3-mini model via the GitHub Provider, ensure that the stream parameter is set to false in your request. Here's how you should configure the parameters:

{
  "messages": [
    {
      "role": "developer",
      "content": [...]
    }
  ],
  "reasoning_effort": "medium",
  "stream": false
}

Make sure the stream parameter is explicitly set to false to avoid the error [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@Sen-CaPoo
Copy link

#5643 相似問題,OpenAI 的推理模型參數的調整,導致後續相關模型都無法順利運作。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


#5643 Similar issues, the adjustment of the user's reasoning model parameters, resulting in subsequent related models that cannot work smoothly.

@hezhijie0327 hezhijie0327 linked a pull request Feb 2, 2025 that will close this issue
8 tasks
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
Status: Roadmap - Chat 1.x
Development

Successfully merging a pull request may close this issue.

3 participants