Skip to content

Move content-filter guidance into the shared Responses retry handler - #49130

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/030bde1d4f1597fc4f3971ad837478e5304c5aa9
Sep 29, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/030bde1d4f1597fc4f3971ad837478e5304c5aa9

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Move content-filter guidance into the shared Responses retry handler

What changed

Move content-filter guidance recording from the sampling loop into
handle_response_stream_error. Pass StepContext so the handler can resolve
model-specific guidance and record it before retry decisions for sampling
requests. Keep remote compaction excluded from guidance recording and update
callers and the existing retry-deadline test to use the new signature.

…49130)

## What changed

Move content-filter guidance recording from the sampling loop into
`handle_response_stream_error`. Pass `StepContext` so the handler can resolve
model-specific guidance and record it before retry decisions for sampling
requests. Keep remote compaction excluded from guidance recording and update
callers and the existing retry-deadline test to use the new signature.

GitOrigin-RevId: 030bde1d4f1597fc4f3971ad837478e5304c5aa9
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/030bde1d4f1597fc4f3971ad837478e5304c5aa9 branch from 684f4fc to a9118ed Compare September 29, 2026 02:06
@copyberry
copyberry Bot merged commit a9118ed into main Sep 29, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/030bde1d4f1597fc4f3971ad837478e5304c5aa9 branch September 29, 2026 02:06
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 29, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — a9118eda Deployed Sep 29, 2026 by tinld via Generate label suggestions #49600
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.

5 participants