Skip to content

azure-openai-responses missing store: false unlike openai-responses and codex-openai-responses. This causes it to use stateful API mode. #5530

@Jaxkr

Description

@Jaxkr

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

  1. Start an agent using azure openai
  2. Observe that store is false and it's using a stateful API.
  3. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginprogressIssue is being worked on

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions