Skip to content

Infer Claude context windows from transcript and model#937

Merged
edwin-zvs merged 1 commit into
mainfrom
feat-claude-context-window-fallback
Jul 22, 2026
Merged

Infer Claude context windows from transcript and model#937
edwin-zvs merged 1 commit into
mainfrom
feat-claude-context-window-fallback

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Claude context usage now resolves a context window in this order: explicit native transcript field, known Claude model mapping, then usage-only. Known mappings include fable-5 and sonnet-5 variants.\n\nValidated with:\n- cargo test -p construct-adapter-claude assistant_usage_emits_cost_once_per_message_id\n- cargo build

@edwin-zvs
edwin-zvs merged commit 8ebcd88 into main Jul 22, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the feat-claude-context-window-fallback branch July 22, 2026 02:24
@edwin-zvs edwin-zvs mentioned this pull request Jul 22, 2026
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