You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ak...@apache.org on 2026/06/02 21:18:12 UTC
(tooling-gofannon) branch main updated: Correcting context window for opus 4.7. and 4.8
This is an automated email from the ASF dual-hosted git repository.
andrewmusselman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-gofannon.git
The following commit(s) were added to refs/heads/main by this push:
new bc83751 Correcting context window for opus 4.7. and 4.8
bc83751 is described below
commit bc83751ad51d7d099c5947e9a0215eff533417f8
Author: Andrew Musselman <ak...@apache.org>
AuthorDate: Tue Jun 2 14:18:03 2026 -0700
Correcting context window for opus 4.7. and 4.8
---
webapp/packages/api/user-service/config/bedrock/__init__.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/webapp/packages/api/user-service/config/bedrock/__init__.py b/webapp/packages/api/user-service/config/bedrock/__init__.py
index 2777477..8eb2999 100644
--- a/webapp/packages/api/user-service/config/bedrock/__init__.py
+++ b/webapp/packages/api/user-service/config/bedrock/__init__.py
@@ -9,16 +9,16 @@
models = {
# =========================================================================
# Anthropic Claude Opus 4.8 (Bedrock)
- # Uses the new adaptive thinking format introduced with Opus 4.7:
+ # 1M token context, 128K max output. Adaptive thinking format:
# thinking={"type":"adaptive"}, output_config={"effort":"high"}
- # NOT the legacy thinking={"type":"enabled","budget_tokens":N} format.
- # llm_service.py must branch on the model string to send the right shape.
+ # NOT the legacy thinking={"type":"enabled","budget_tokens":N} shape.
+ # llm_service.py branches on the model string to send the right format.
# =========================================================================
"us.anthropic.claude-opus-4-8": {
"returns_thoughts": True,
"supports_effort": True,
"supports_thinking": True,
- "context_window": 200000,
+ "context_window": 1000000,
"parameters": {
"temperature": {
"type": "float",
@@ -53,13 +53,13 @@ models = {
},
# =========================================================================
# Anthropic Claude Opus 4.7 (Bedrock)
- # Same adaptive thinking format as 4.8 — see comment block above.
+ # Same 1M context / 128K output / adaptive thinking as 4.8.
# =========================================================================
"us.anthropic.claude-opus-4-7": {
"returns_thoughts": True,
"supports_effort": True,
"supports_thinking": True,
- "context_window": 200000,
+ "context_window": 1000000,
"parameters": {
"temperature": {
"type": "float",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org