feat(presets): migrate all aggregator and Bedrock presets to Claude Opus 4.7

- OpenClaw: replace opus-4-6 with opus-4-7 across 17 aggregator presets
  (id, name, primary, modelCatalog); AWS Bedrock entry rewritten to new
  SKU anthropic.claude-opus-4-7 (drops -v1 and dated suffix per official
  4.7 model card) and pricing corrected to $5/$25/$0.50/$6.25 during the
  SKU swap, aligning with schema.rs source of truth
- OpenCode: same replacement for 13 aggregators plus
  OPENCODE_PRESET_MODEL_VARIANTS entries for @ai-sdk/amazon-bedrock and
  @ai-sdk/anthropic, plus AWS Bedrock provider models map
- OpenRouter / TheRouter / GitHub Copilot in claudeProviderPresets use
  dot-style id; update to anthropic/claude-opus-4.7 (missed by 509d2250)
- omo: switch agent/category recommended to opus-4-7; replace key in
  OMO_BACKGROUND_TASK_PLACEHOLDER priority map
- hermes_config.rs: update doc comments and test fixtures to opus-4-7;
  Hermes ModelPanel placeholder and i18n defaultHint examples follow
- i18n unspecifiedHigh category description bumped to 'Claude Opus 4.7
  max variant' to match omo recommended
- Test fixtures updated: therouter preset assertion and opencode Bedrock
  variant lookup now check for opus-4-7
- Sonnet 4.6 / Haiku 4.5 untouched - no official 4.7 release for them
This commit is contained in:
Jason
2026-04-17 09:10:06 +08:00
parent 83c3c3b494
commit 1684cb3233
11 changed files with 117 additions and 117 deletions
+2 -2
View File
@@ -1646,7 +1646,7 @@
"title": "Model Config",
"description": "Configure the default model settings in config.yaml's model section.",
"default": "Default Model",
"defaultHint": "The default model to use, e.g. anthropic/claude-opus-4-6",
"defaultHint": "The default model to use, e.g. anthropic/claude-opus-4-7",
"provider": "Provider",
"providerHint": "Provider name for model routing (e.g. openrouter, anthropic)",
"baseUrl": "Base URL",
@@ -2448,7 +2448,7 @@
"artistry": "Highly creative and artistic task category that inspires novel ideas and creative solutions. Defaults to Gemini 3 Pro max variant.",
"quick": "Lightweight task category for single-file modifications, typo fixes, and simple adjustments. Defaults to Claude Haiku 4.5 fast model.",
"unspecifiedLow": "Uncategorized low-effort task category for tasks that don't fit other categories with small workload. Defaults to Claude Sonnet 4.5.",
"unspecifiedHigh": "Uncategorized high-effort task category for tasks that don't fit other categories with large workload. Defaults to Claude Opus 4.6 max variant.",
"unspecifiedHigh": "Uncategorized high-effort task category for tasks that don't fit other categories with large workload. Defaults to Claude Opus 4.7 max variant.",
"writing": "Writing category for documentation, prose and technical writing. Defaults to Gemini 3 Flash fast generation model."
},
"slimAgentDesc": {
+2 -2
View File
@@ -1646,7 +1646,7 @@
"title": "モデル設定",
"description": "config.yaml の model セクションのデフォルトモデル設定を構成します。",
"default": "デフォルトモデル",
"defaultHint": "使用するデフォルトモデル(例: anthropic/claude-opus-4-6",
"defaultHint": "使用するデフォルトモデル(例: anthropic/claude-opus-4-7",
"provider": "プロバイダー",
"providerHint": "モデルルーティングのプロバイダー名(例: openrouter、anthropic",
"baseUrl": "Base URL",
@@ -2448,7 +2448,7 @@
"artistry": "高度にクリエイティブで芸術的なタスクカテゴリ。斬新なアイデアとクリエイティブなソリューションを促進。デフォルトで Gemini 3 Pro の max バリアントを使用。",
"quick": "軽量タスクカテゴリ。単一ファイルの修正、タイポ修正、簡単な調整などの些細な作業に使用。デフォルトで Claude Haiku 4.5 高速モデルを使用。",
"unspecifiedLow": "未分類の低作業量タスクカテゴリ。他のカテゴリに該当せず作業量が小さいタスクに適用。デフォルトで Claude Sonnet 4.5 を使用。",
"unspecifiedHigh": "未分類の高作業量タスクカテゴリ。他のカテゴリに該当せず作業量が大きいタスクに適用。デフォルトで Claude Opus 4.6 の max バリアントを使用。",
"unspecifiedHigh": "未分類の高作業量タスクカテゴリ。他のカテゴリに該当せず作業量が大きいタスクに適用。デフォルトで Claude Opus 4.7 の max バリアントを使用。",
"writing": "ライティングカテゴリ。ドキュメント、散文、技術文書に特化。デフォルトで Gemini 3 Flash 高速生成モデルを使用。"
},
"slimAgentDesc": {
+2 -2
View File
@@ -1647,7 +1647,7 @@
"title": "模型配置",
"description": "配置 config.yaml 中 model 节的默认模型设置。",
"default": "默认模型",
"defaultHint": "使用的默认模型,如 anthropic/claude-opus-4-6",
"defaultHint": "使用的默认模型,如 anthropic/claude-opus-4-7",
"provider": "供应商",
"providerHint": "模型路由的供应商名称(如 openrouter、anthropic",
"baseUrl": "Base URL",
@@ -2449,7 +2449,7 @@
"artistry": "高度创意与艺术性任务类别,激发新颖想法和创造性解决方案,默认使用 Gemini 3 Pro 的最大变体。",
"quick": "轻量任务类别,用于单文件修改、错别字修复、简单调整等琐碎工作,默认使用 Claude Haiku 4.5 快速模型。",
"unspecifiedLow": "未归类低工作量任务类别,适用于不适合其他类别且工作量较小的任务,默认使用 Claude Sonnet 4.5。",
"unspecifiedHigh": "未归类高工作量任务类别,适用于不适合其他类别且工作量较大的任务,默认使用 Claude Opus 4.6 的最大变体。",
"unspecifiedHigh": "未归类高工作量任务类别,适用于不适合其他类别且工作量较大的任务,默认使用 Claude Opus 4.7 的最大变体。",
"writing": "写作类别,专注于文档、散文和技术写作,默认使用 Gemini 3 Flash 快速生成模型。"
},
"slimAgentDesc": {