Skip to content

[Bug]: Azure OpenAI Responses API — reasoning items cause 400 "required following item" on gpt-5.3-codex #49167

@x777

Description

@x777

Bug type

Regression (worked before, now fails)

Summary

Description

Using azure-openai-responses provider with gpt-5.3-codex (reasoning model).
After a few turns, agent fails with:

400 Item 'rs_0aa2885b78cec2150069b9850ec0448197bb65a015529b6306' of type 'reasoning'
was provided without its required following item.

Environment

  • OpenClaw version: 2026.3.14
  • Provider: azure-openai-responses
  • Model: gpt-5.3-codex
  • Deployment: Azure Cognitive Services (*.cognitiveservices.azure.com)

Config

{
  "models": {
    "providers": {
      "azure-openai-responses": {
        "baseUrl": "https://<resource>.openai.azure.com/openai/v1",
        "api": "openai-responses",
        "apiKey": "${AZURE_OPENAI_API_KEY}",
        "models": [{ "id": "gpt-5.3-codex", "reasoning": true }]
      }
    }
  }
}


### Steps to reproduce

1. Configure azure-openai-responses provider with a reasoning model
2. Start a multi-turn conversation (3+ turns)
3. Error appears on subsequent turns

### Expected behavior

Setting "reasoning": false stops the error but disables thinking.

### Actual behavior

Using `azure-openai-responses` provider with `gpt-5.3-codex` (reasoning model).
After a few turns, agent fails with:

400 Item 'rs_0aa2885b78cec2150069b9850ec0448197bb65a015529b6306' of type 'reasoning'
was provided without its required following item.

### OpenClaw version

2026.3.14

### Operating system

Ubuntu 24.04

### Install method

_No response_

### Model

gpt-5.3-codex

### Provider / routing chain

models -> providers

### Config file / key location

_No response_

### Additional provider/model setup details

_No response_

### Logs, screenshots, and evidence

```shell

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    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