chore(config): bump default amazon-bedrock model to claude-sonnet-5
Lint workflows / hadolint (push) Successful in 8s
Validate / docs-check (push) Successful in 9s
Lint workflows / actionlint (push) Successful in 15s
Validate / base-change-warning (push) Successful in 8s
Validate / validate-base (push) Has been skipped
Validate / validate-omos (push) Has been skipped
Lint workflows / hadolint (push) Successful in 8s
Validate / docs-check (push) Successful in 9s
Lint workflows / actionlint (push) Successful in 15s
Validate / base-change-warning (push) Successful in 8s
Validate / validate-base (push) Has been skipped
Validate / validate-omos (push) Has been skipped
DEFAULT_MODELS[amazon-bedrock] -> amazon-bedrock/global.anthropic.claude-sonnet-5 (was global.anthropic.claude-sonnet-4-5-20250929-v1:0). Verified invokable via pi --list-models. Folded into the existing Unreleased changelog entry; openai (gpt-5.4) default unchanged.
This commit is contained in:
+10
-7
@@ -10,13 +10,16 @@ Tags follow **independent semver** (since `v2.0.0`) — they version *this image
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- **Default Anthropic model bumped to `claude-sonnet-5`** (was
|
- **Default models bumped to `claude-sonnet-5`.** In
|
||||||
`claude-sonnet-4-6`). Updated `DEFAULT_MODELS["anthropic"]` in
|
`rootfs/usr/local/lib/opencode-devbox/generate-config.py`,
|
||||||
`rootfs/usr/local/lib/opencode-devbox/generate-config.py` (which also feeds
|
`DEFAULT_MODELS["anthropic"]` → `anthropic/claude-sonnet-5` (was
|
||||||
`FALLBACK_MODEL`) and the commented `OPENCODE_MODEL` example in `.env.example`.
|
`claude-sonnet-4-6`; also feeds `FALLBACK_MODEL`) and
|
||||||
Takes effect for new containers when `OPENCODE_PROVIDER=anthropic` and no
|
`DEFAULT_MODELS["amazon-bedrock"]` →
|
||||||
explicit `OPENCODE_MODEL` override is set. The `openai` and `amazon-bedrock`
|
`amazon-bedrock/global.anthropic.claude-sonnet-5` (was
|
||||||
provider defaults are unchanged.
|
`...claude-sonnet-4-5-20250929-v1:0`). Also updates the commented
|
||||||
|
`OPENCODE_MODEL` example in `.env.example`. Takes effect for new containers
|
||||||
|
when no explicit `OPENCODE_MODEL` override is set. The `openai` default
|
||||||
|
(`gpt-5.4`) is unchanged.
|
||||||
|
|
||||||
## v2.7.0 — 2026-07-13
|
## v2.7.0 — 2026-07-13
|
||||||
|
|
||||||
|
|||||||
@@ -43,9 +43,7 @@ from pathlib import Path
|
|||||||
DEFAULT_MODELS: dict[str, str] = {
|
DEFAULT_MODELS: dict[str, str] = {
|
||||||
"anthropic": "anthropic/claude-sonnet-5",
|
"anthropic": "anthropic/claude-sonnet-5",
|
||||||
"openai": "openai/gpt-5.4",
|
"openai": "openai/gpt-5.4",
|
||||||
"amazon-bedrock": (
|
"amazon-bedrock": "amazon-bedrock/global.anthropic.claude-sonnet-5",
|
||||||
"amazon-bedrock/global.anthropic.claude-sonnet-4-5-20250929-v1:0"
|
|
||||||
),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Fallback when OPENCODE_PROVIDER is set but not recognized.
|
# Fallback when OPENCODE_PROVIDER is set but not recognized.
|
||||||
|
|||||||
Reference in New Issue
Block a user