An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Azure api manger buffers the entire SSE stream before forwarding it to clients when the backend is an Azure OpenAI endpoin
Jeffrey Bakker
0
Reputation points
APIM's internal CacheModelProcessStreamHandlerLegacybuffers the entire SSE stream before forwarding it to clients when the backend is an Azure OpenAI endpoint, despite buffer-request-body="true" buffer-response="false" being explicitly set on forward-request. This defeats streaming and significantly increases TTFT. The "Legacy" suffix suggests a non-buffering implementation exists but is not being used. Even when removing our token limet and llm-emit metric policies we still get this buffering behavior. A month or 2 ago this was not the case.
*
**
Azure API Management
Azure API Management
Sign in to answer