Openai:Unrecognized request argument supplied:stream_options #3382

Closed
opened 2026-02-21 17:57:11 -05:00 by yindo · 0 comments
Owner

Originally created by @115341chenzehao on GitHub (May 16, 2024).

Originally assigned to: @Yeuoly on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.8

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Bug
1.When I upgraded from version 0.6.6 to 0.6.8, I encountered the following error message when using OpenAI:
1

2.Upon comparing version 0.6.6 with 0.6.8, it was found that in the OpenAI 'llm.py' there was additional handling for 'stream_option'. After commenting this out and repackaging, OpenAI could be used normally again.
2

Additional questions
1."After installing 'mysql-connector-python', does Dify's 'code execution' support connecting to a database?"
3

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @115341chenzehao on GitHub (May 16, 2024). Originally assigned to: @Yeuoly on GitHub. ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.6.8 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Bug 1.When I upgraded from version 0.6.6 to 0.6.8, I encountered the following error message when using OpenAI: ![1](https://github.com/langgenius/dify/assets/61967670/7aed6c05-37b9-4397-bfc2-a575c5e9e342) 2.Upon comparing version 0.6.6 with 0.6.8, it was found that in the OpenAI 'llm.py' there was additional handling for 'stream_option'. After commenting this out and repackaging, OpenAI could be used normally again. ![2](https://github.com/langgenius/dify/assets/61967670/bc0e490f-16b6-4d96-8091-c5af2511d482) Additional questions 1."After installing 'mysql-connector-python', does Dify's 'code execution' support connecting to a database?" ![3](https://github.com/langgenius/dify/assets/61967670/1e86d8c3-ec8d-417c-86ec-a817f1e0a2f2) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 17:57:11 -05:00
yindo closed this issue 2026-02-21 17:57:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#3382