feat(anthropic): Claude 5.x safety defaults (prefix error, temporary fallback block, Mythos 5 on Converse)
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
Goal
Refuse Claude 5.x configurations that docker-agent cannot serve correctly yet, instead of sending them:
- Non-empty
fallbacksis rejected when any model in the chain is a 5.x model, until #4584 lands. - Mythos 5 on Bedrock Converse is refused before any inference call.
Scope change (2026-10-20): making
thinking_prefix_mismatch: errorthe 5.x default moved to #4653. The runtime routinely edits the conversation prefix (num_history_itemstrimming, hooks, compaction), soerrorwould make those sessions fail until #4653 can replay signed history exactly or refuse cleanly. Today'sdrop_blockdefault stays, and dropped blocks are already logged.
Why
fallbacks.goforwards any list with the June beta header and no checks (fallbacks.go). Server fallback changes model mid-response and sticks to the fallback for about an hour, which docker-agent doesn't handle yet (#4584).- Mythos 5 is only available on Bedrock Mantle, not runtime or Converse (model card). Today the request fails at AWS with an unclear error.
Scope
- Fallback block: reject when the primary or any explicit target is one of the nine 5.x models, including a legacy primary with a 5.x target. Absent or empty
fallbacksworks as usual. Fallback chains with no 5.x model are unchanged. The error message points to #4584. - Refuse Mythos 5 on Converse at client construction when the model ID makes it clear.
Acceptance criteria
- Fallback tests: 5.x primary, legacy primary → 5.x target, absent/empty list, a chain with no 5.x model (unchanged, control test).
- Mythos 5 on Converse fails before any network call; Mythos 5.1 on Converse is allowed.
- Docs and
latestschema descriptions updated. -
task build,task test,task lintpass.
Parent: #4583
- 主要语言
- Go
- 星标
- 4.6k
- 派生
- 522
- 平均合并
- 8 小时 43 分钟
- 30 天内合并 PR
- 239
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker/docker-agent 的其他 Issue
-
Error when trying to run sandbox example?可能已有人在做 @dgageot 于 1 天前认领。 未关闭area/cli
难度 2/5 1-3 小时 新手友好度 62/100
docker/docker-agent#4672 · 1 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
pkg/hooks tests fail with a misleading assertion when jq is not installed可能已有人在做 @dwin-gharibi 于 58 天前认领。 未关闭area/testing
难度 2/5 1-3 小时 新手友好度 86/100
docker/docker-agent#4052 ·
维护者通常 1 天内回复
-
`remove_directory` and `create_directory` hide work they already did when a later path fails可能已有人在做 @dwin-gharibi 于 76 天前认领。 未关闭area/tools
难度 2/5 1-3 小时 新手友好度 85/100
docker/docker-agent#3933 ·
维护者通常 1 天内回复
-
`edit_file` silently edits the first match when `oldText` occurs more than once可能已有人在做 @dwin-gharibi 于 76 天前认领。 未关闭area/tools
难度 2/5 1-3 小时 新手友好度 78/100
docker/docker-agent#3929 · 2 条评论 ·
维护者通常 1 天内回复
-
[Flaky test] TestA2AServer_MultipleRequests可能已有人在做 @aheritier 今天认领。 未关闭area/a2a area/testing flaky-test
docker/docker-agent#4687 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 docker/docker-agent 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
docker/sbx-releases#737 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
area/manager needs-triage
难度 2/5 1-3 小时 新手友好度 73/100
kyma-project/telemetry-manager#3922 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
JakeChampion/lang#12965 ·
维护者通常 1 天内回复
-
hacktoberfest priority: low skill: good first issue status: ready for dev
难度 2/5 1-3 小时 新手友好度 89/100
hyperledger-labs/fabric-smart-client#2218 ·
维护者通常 1 天内回复