What happened?
When using Azure OpenAI, it runs in stateful mode. This results in some bugs where Azure will unexpectedly drop your reasoning objects on the server-side. This is why this project prefers stateful mode (like regular openai-responses and openai-codex).
Steps to reproduce
- Start an agent using azure openai
- Observe that
store is false and it's using a stateful API.
- Occasionally experience intermittent
Error 400 Item with id 'rs_1234abcdef' not found. due to Microsoft Azure crappiness
Expected behavior
It should use a stateless API like the others. And the reasoning should be included.
I made a PR showing what we need to change: #5524 (opened this before I read CONTRIBUTING.md, sorry!)
Version
v0.79.0
What happened?
When using Azure OpenAI, it runs in stateful mode. This results in some bugs where Azure will unexpectedly drop your reasoning objects on the server-side. This is why this project prefers stateful mode (like regular openai-responses and openai-codex).
Steps to reproduce
storeis false and it's using a stateful API.Error 400 Item with id 'rs_1234abcdef' not found.due to Microsoft Azure crappinessExpected behavior
It should use a stateless API like the others. And the reasoning should be included.
I made a PR showing what we need to change: #5524 (opened this before I read CONTRIBUTING.md, sorry!)
Version
v0.79.0