Skip to content

fix(gateway): record Anthropic response models in compatibility routes - #8745

Merged
Wei-Shaw merged 4 commits into
Wei-Shaw:mainfrom
wozhenbang2004:fix/anthropic-compat-observation-8714
Nov 16, 2026
Merged

Wei-Shaw merged 4 commits into
Wei-Shaw:mainfrom
wozhenbang2004:fix/anthropic-compat-observation-8714

Conversation

@wozhenbang2004

Copy link
Copy Markdown
Contributor

Fixes #8714

Capture the upstream model and service tier when serving Chat Completions and Responses through Anthropic accounts, including partial stream failures.

Adds coverage for streaming and buffered replies, missing metadata, and conflicting model declarations.

Tests: 33 focused gateway and upstream-model tests passed.

@Wei-Shaw
Wei-Shaw merged commit 8a585c9 into Wei-Shaw:main Nov 16, 2026
8 of 9 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 16, 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.

[Bug] gateway: usage row has no upstream_response_model for Chat Completions and Responses served by an Anthropic account

2 participants