Skip to content

Stop retrying turns with invalid tool images - #34380

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f4ea782f16c5451feb261694caa73b77f24c3e4e
Jul 20, 2026
Merged

Stop retrying turns with invalid tool images#34380
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f4ea782f16c5451feb261694caa73b77f24c3e4e

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 20, 2026

Copy link
Copy Markdown

Stop retrying turns with invalid tool images

What changed

Remove the fallback that replaced image content in the latest tool output with
Invalid image and retried the model request. Invalid-image responses now use
the existing bad-request error path without modifying conversation history.

## What changed

Remove the fallback that replaced image content in the latest tool output with
`Invalid image` and retried the model request. Invalid-image responses now use
the existing bad-request error path without modifying conversation history.

GitOrigin-RevId: f4ea782f16c5451feb261694caa73b77f24c3e4e
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/f4ea782f16c5451feb261694caa73b77f24c3e4e branch from 84d65d9 to 8431dc5 Compare July 20, 2026 16:58
@copyberry
copyberry Bot merged commit 8431dc5 into main Jul 20, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/f4ea782f16c5451feb261694caa73b77f24c3e4e branch July 20, 2026 16:59
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant