From 2869555d115dc145ef45b1f796b24a16b6024838 Mon Sep 17 00:00:00 2001 From: osherove Date: Sat, 30 May 2026 17:49:22 +0000 Subject: [PATCH] fix(hermes): use valid Bedrock model ID for bedrockify --- packs/hermes/install.sh | 11 ++++++----- packs/hermes/manifest.yaml | 4 ++-- packs/registry.json | 2 +- packs/registry.yaml | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packs/hermes/install.sh b/packs/hermes/install.sh index 76154ed..23c6156 100755 --- a/packs/hermes/install.sh +++ b/packs/hermes/install.sh @@ -2,7 +2,7 @@ # packs/hermes/install.sh — Install Hermes Agent and configure it to use bedrockify # # Usage: -# ./install.sh [--region us-east-1] [--hermes-model anthropic/claude-opus-4.6] [--bedrockify-port 8090] +# ./install.sh [--region us-east-1] [--hermes-model global.anthropic.claude-opus-4-6-v1] [--bedrockify-port 8090] # # Assumes: # - bedrockify is already installed and running (see packs/bedrockify/) @@ -20,9 +20,10 @@ source "${SCRIPT_DIR}/../common.sh" # ── Defaults ────────────────────────────────────────────────────────────────── # Defaults from config file (written by bootstrap dispatcher), then CLI overrides -# Note: reads "hermes_model" key (not "model") — hermes needs OpenAI-style model ID +# Note: reads "hermes_model" key (not "model") — must be a Bedrock model ID +# that bedrockify accepts (same default as openclaw). PACK_ARG_REGION="$(pack_config_get region "us-east-1")" -PACK_ARG_MODEL="$(pack_config_get hermes_model "anthropic/claude-opus-4.6")" +PACK_ARG_MODEL="$(pack_config_get hermes_model "global.anthropic.claude-opus-4-6-v1")" PACK_ARG_BEDROCKIFY_PORT="$(pack_config_get bedrockify_port "8090")" # ── Help ────────────────────────────────────────────────────────────────────── @@ -34,7 +35,7 @@ Install Hermes Agent and configure it to use bedrockify. Options: --region AWS region for Bedrock (default: us-east-1) - --hermes-model Model ID (OpenAI-style) (default: anthropic/claude-opus-4.6) + --hermes-model Bedrock model ID (default: global.anthropic.claude-opus-4-6-v1) --bedrockify-port Port where bedrockify listens (default: 8090) --help Show this help message @@ -43,7 +44,7 @@ Note: --model is ignored (it carries Bedrock model IDs from the dispatcher). Examples: ./install.sh --region us-east-1 - ./install.sh --hermes-model anthropic/claude-sonnet-4.6 --bedrockify-port 8090 + ./install.sh --hermes-model global.anthropic.claude-sonnet-4-6 --bedrockify-port 8090 EOF } diff --git a/packs/hermes/manifest.yaml b/packs/hermes/manifest.yaml index 2bf618a..3dd5d83 100644 --- a/packs/hermes/manifest.yaml +++ b/packs/hermes/manifest.yaml @@ -20,8 +20,8 @@ params: description: "AWS region for Bedrock" default: us-east-1 - name: hermes-model - description: "Model ID (OpenAI-style via bedrockify). Generic --model is ignored." - default: "anthropic/claude-opus-4.6" + description: "Bedrock model ID (resolved by bedrockify). Generic --model is ignored." + default: "global.anthropic.claude-opus-4-6-v1" - name: bedrockify-port description: "Port where bedrockify is running" default: "8090" diff --git a/packs/registry.json b/packs/registry.json index 0bb409f..296d70e 100644 --- a/packs/registry.json +++ b/packs/registry.json @@ -54,7 +54,7 @@ "instance_type": "t4g.medium", "root_volume_gb": 40, "data_volume_gb": 0, - "default_model": "anthropic/claude-opus-4.6", + "default_model": "global.anthropic.claude-opus-4-6-v1", "ports": {}, "brain": false, "claude_code": false, diff --git a/packs/registry.yaml b/packs/registry.yaml index 7eb2bb1..f363d75 100644 --- a/packs/registry.yaml +++ b/packs/registry.yaml @@ -51,7 +51,7 @@ packs: instance_type: t4g.medium root_volume_gb: 40 data_volume_gb: 0 - default_model: "anthropic/claude-opus-4.6" + default_model: "global.anthropic.claude-opus-4-6-v1" ports: {} brain: false claude_code: false