Stream options are not available for Azure openAI #6231

Closed
opened 2026-02-21 18:14:39 -05:00 by yindo · 4 comments
Owner

Originally created by @dale22 on GitHub (Oct 22, 2024).

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).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.10.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

have upgrade to v0.10.0. but also options Streaming true
image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @dale22 on GitHub (Oct 22, 2024). ### 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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.10.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce have upgrade to v0.10.0. but also options Streaming true ![image](https://github.com/user-attachments/assets/5a6a37f4-5203-4633-a97b-a4909cb5448e) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-21 18:14:39 -05:00
Author
Owner

@crazywoola commented on GitHub (Oct 22, 2024):

Duplicated

@crazywoola commented on GitHub (Oct 22, 2024): Duplicated
Author
Owner

@leslie2046 commented on GitHub (Oct 22, 2024):

please provide more details
1.model name
2.azure openai api version
3.dsl
4.The reproduce step

@leslie2046 commented on GitHub (Oct 22, 2024): please provide more details 1.model name 2.azure openai api version 3.dsl 4.The reproduce step
Author
Owner

@crazywoola commented on GitHub (Oct 22, 2024):

This error is more like the model itself does not support streaming, and I remember that if I used structure output, there would be a similar error, no matter it's OpenAI or Azure OpenAI

@crazywoola commented on GitHub (Oct 22, 2024): This error is more like the model itself does not support streaming, and I remember that if I used structure output, there would be a similar error, no matter it's OpenAI or Azure OpenAI
Author
Owner

@dale22 commented on GitHub (Oct 22, 2024):

use api can be set streaming . but ui not set , so is error
model name:gpt-4o-2024-05-13
azure openai api version:2024-05-01-preview
step
1,set model is ok,so API Key and Endpoint and deployment name is ok
image
2,but dify chat is error, and ui not set streaming false, docker-api logs:403
image

@dale22 commented on GitHub (Oct 22, 2024): use api can be set streaming . but ui not set , so is error model name:gpt-4o-2024-05-13 azure openai api version:2024-05-01-preview step 1,set model is ok,so API Key and Endpoint and deployment name is ok ![image](https://github.com/user-attachments/assets/047318e5-7c8a-49b1-870b-4f38282fcbc5) 2,but dify chat is error, and ui not set streaming false, docker-api logs:403 ![image](https://github.com/user-attachments/assets/9181fd98-946f-41be-b6a8-62986dfc02d8)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6231