Skip to content

Adapt inferred Claude context windows#941

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

Adapt inferred Claude context windows#941
edwin-zvs merged 1 commit into
mainfrom
feat-claude-adaptive-context-window

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Use 1M inferred windows for fable-5, sonnet-5, and Claude Opus 4.6+; known 200k windows expand in 200k increments when prompt-side usage exceeds the fallback. Explicit transcript windows remain authoritative.\n\nValidated with:\n- cargo test -p construct-adapter-claude known_claude_windows\n- cargo test -p construct-adapter-claude assistant_usage_emits_cost_once_per_message_id\n- cargo build

@edwin-zvs
edwin-zvs merged commit 70b6e81 into main Jul 22, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the feat-claude-adaptive-context-window branch July 22, 2026 04:26
@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