Hi Noel Stieglitz,
Welcome to Microsoft Q&A forum. Thank you for posting your query.
The error message:
"Unsupported value: 'stream' does not support 'true' with this model. Supported values are: 'false'."
Indicates that Azure OpenAI's GPT-4o no longer supports streaming responses in its current deployment version. This could be due to a policy change by Azure OpenAI or a misconfiguration in your deployment.
Verify Model Streaming Support
Check Azure OpenAI’s official documentation for gpt-4o streaming support. Azure frequently updates model capabilities, and it's possible that streaming is no longer supported for gpt-4o (or was removed in a recent update).
Run this command in Azure CLI to check your model's capabilities:
az openai deployment list --resource-group <resource-group-name> --name <openai-service-name> --query "[].{Model: model, SupportsStreaming: capabilities.supportsStreaming}"
If SupportsStreaming is false, then Azure has disabled streaming for this model.
Since the gpt-4o model was previously working with streaming and suddenly stopped without any changes on your end, this strongly suggests that Azure OpenAI made an internal change that disabled streaming for gpt-4o. Here’s how you can investigate and resolve the issue:
Check Azure OpenAI Service Updates
Azure frequently updates their models, and certain capabilities (like streaming) may have been removed or temporarily disabled.
Check Azure OpenAI Service Status:
Go to Azure OpenAI Service Status
Look for any updates related to gpt-4o in your region (eastus2).
Check Azure OpenAI Model Support Page:
Check here: Azure OpenAI Models
Confirm if gpt-4o still supports streaming.
Try Re-deploying the Model
If gpt-4o used to work with streaming but suddenly stopped:
Delete the current gpt-4o deployment.
Re-deploy gpt-4o in Azure OpenAI and try again.
Since you confirmed that gpt-4o-mini still supports streaming, consider switching to:
gpt-4-turbo (if streaming is supported)
or
gpt-4o-mini
Hope this helps. Do let us know if you any further queries.
Thank you.