[GH-ISSUE #491] [FEAT] Azure OpenAI answer streaming #284

Closed
opened 2026-02-22 18:18:44 -05:00 by yindo · 2 comments
Owner

Originally created by @jeffrey-devhkg on GitHub (Dec 27, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/491

I tried using the Azure OpenAI LLM, the answer will not stream out, the processing icon just spins and after a while, the answer appears. When I changed the LLM preference to OpenAI, the answer streaming is working.

Originally created by @jeffrey-devhkg on GitHub (Dec 27, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/491 I tried using the Azure OpenAI LLM, the answer will not stream out, the processing icon just spins and after a while, the answer appears. When I changed the LLM preference to OpenAI, the answer streaming is working.
yindo added the Integration Requestfeature request labels 2026-02-22 18:18:44 -05:00
yindo closed this issue 2026-02-22 18:18:44 -05:00
Author
Owner

@timothycarambat commented on GitHub (Dec 27, 2023):

Are you sure that your Azure OpenAI settings are input correctly? You need to be using the proper Endpoint and a valid streamable model from Azure. You should be able to use the same inputs and credentials in a regular POST request

@timothycarambat commented on GitHub (Dec 27, 2023): Are you sure that your Azure OpenAI settings are input correctly? You need to be using the proper Endpoint and a valid streamable model from Azure. You should be able to use the same inputs and credentials in a regular POST request
Author
Owner

@timothycarambat commented on GitHub (Jan 3, 2024):

I just re-read this issue. So you do get the answer, you just want it streamed. When we implemented Azure streaming was not available and we have not revisited it since initial integration.

Updating issue now.

FEAT: implement streaming for Azure OpenAI models
https://github.com/Mintplex-Labs/anything-llm/blob/8001f694542e361f3e430ae29a8ab3bfbea5f264/server/utils/AiProviders/azureOpenAi/index.js#L42

@timothycarambat commented on GitHub (Jan 3, 2024): I just re-read this issue. So you _do_ get the answer, you just want it streamed. When we implemented Azure streaming was not available and we have not revisited it since initial integration. Updating issue now. FEAT: implement streaming for Azure OpenAI models https://github.com/Mintplex-Labs/anything-llm/blob/8001f694542e361f3e430ae29a8ab3bfbea5f264/server/utils/AiProviders/azureOpenAi/index.js#L42
yindo changed title from [FEAT] Azure OpenAI answer streaming to [GH-ISSUE #491] [FEAT] Azure OpenAI answer streaming 2026-06-05 14:34:28 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#284