GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — feat(provider): add 1M context window support for Anthropic models by DusKing1 · Pull Request #14375 · anomalyco/opencode Conversation
|
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one related PR: PR #12342: "feat(provider): add adaptive thinking and 1M context support for Claude Opus 4.6" This PR is related because it addresses the same feature (1M context window support for Anthropic models, specifically Claude Opus 4.6). According to the current PR description, PR #14375 is "a minimal alternative to #12342 — no AI SDK version upgrade required," indicating these PRs take different approaches to solving the same problem. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
+1 on this one, a bit annoying to have opencode keep hitting 200k limit thinking its at 20% of the context rn 😓 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
any plans to merge this? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Add context-1m-2025-08-07 beta header for Anthropic provider, enabling 1M token context window for Claude Opus 4.6, Sonnet 4.6, Sonnet 4.5, and Sonnet 4.0. Override context limit from 200K to 1M for supported models so compaction triggers at the correct threshold instead of prematurely at 200K. Fix compaction token counting: when model.limit.input is set, only count input tokens (not output/thinking) against the input limit. Output tokens do not consume the input context window.
5103e1e to
d471249
Compare
Tier 1 bug fixes: - Fix O(n²) bash output concatenation with StreamingOutput class (anomalyco#9693) - Fix memory leaks in Bus.once, Format, Plugin, ShareNext, Bootstrap (anomalyco#13514) - Fix FileTime race condition using actual file mtime instead of JS clock - Free memory on compaction prune: clear output/attachments/metadata (anomalyco#7049) - Throttle reasoning-delta storage writes to 50ms intervals (anomalyco#11328) - Handle SIGHUP/SIGTERM to prevent orphaned processes (anomalyco#12718) - Add process.once("close") handler for bash tool reliability Tier 2 features: - Support 1M context window for Anthropic models via beta header (anomalyco#14375) - Input-only token counting for compaction with limit.input models - MCP lazy loading: on-demand tool discovery via mcp_search tool (anomalyco#8771) - MCP servers listed in system prompt when lazy mode enabled - StreamingOutput: output_filter regex for build diagnostics - LSP server cleanup callback for temp directory removal - Extract formatSize utility from uninstall to shared util/format - GitHub CI: fix Bus subscription leak in session event handler Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[FEATURE]: Add support of Claude Opus 4.6
There was an error while loading. Please reload this page.