Skip to content

Fix Responses history observation after tool argument normalization - #962

Merged
bradhilton merged 1 commit into
mainfrom
ash/fix-responses-history-arguments-20260925
Sep 25, 2026
Merged

bradhilton merged 1 commit into
mainfrom
ash/fix-responses-history-arguments-20260925

Conversation

@bradhilton

@bradhilton bradhilton commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Responses requests containing historical function calls can generate successfully and then fail in ART's history observer. vLLM renders JSON argument strings into mappings, while the observer reconstructs a typed ChatCompletionRequest that requires strings.

Reuse the existing OpenAI argument-normalization helper when constructing that observer request. The helper is moved unchanged; native requests, rendered history, generated outputs, and append-only prefix checks retain their existing behavior.

Validation: two causal streaming/non-streaming regressions fail before the fix; 42 focused inference-history and append-only tests pass afterward. Ruff and focused ty pass. Independent Astra and Fable source reviews are CLEAR for exact head 273a3d8; both review sessions and their source/test limitations are retained. Hosted Prek 36103708399 passed: 1,218 Megatron-lane cases; 1,928 unit cases with 34 explicit skips and 2 deselections; all statics passed. GPU validation classified this change as not requiring a GPU run. This PR does not deploy the fix or change any model/dependency pin.

Merged after existing image build 36100788410 completed successfully and its temporary resources were reconciled. Merge c462353 has the exact reviewed/tested tree. Automatic image build 36105650388 is separate from a serving deployment; no live policy success is claimed by this source fix.

@bradhilton
bradhilton marked this pull request as ready for review September 25, 2026 06:54
@bradhilton
bradhilton merged commit c462353 into main Sep 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant