Hi ,
Thanks for reaching out to Microsoft Q&A.
This means your Azure OpenAI subscription is not yet verified for streaming access on this specific model (o3
). It works on other models because they do not have this additional restriction, but o3
does. It is intentional behavior by OpenAI. Some of the newer OpenAI models (like o3
) require organization verification to use streaming capabilities.
How to fix this:
You need to verify your organization with OpenAI (even if using through Azure). Follow these steps:
Go to: https://platform.openai.com/settings/organization/general
Click on "Verify Organization".
Complete the verification process (you may need a business domain email, billing info, and basic org info).
Once verified, try the stream=True
call again with the o3
model.
Note: This is a policy level requirement by OpenAI, not specific to your code or Azure integration.
Workaround if you cannot verify:
If verifying the org is not possible immediately, you can:
Temporarily disable streaming (stream=False
).
- Or use another supported model (example:
gpt-4
,gpt-35-turbo
) that does not enforce this restriction
Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.