Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/e2e/test-hermes-inference-switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,11 @@ pid_before="$(hermes_gateway_pid)"
ENV_HASH_BEFORE=$(openshell sandbox exec --name "$SANDBOX_NAME" -- sha256sum /sandbox/.hermes/.env 2>/dev/null | awk '{print $1}') || true

info "Switching Hermes to ${SWITCH_PROVIDER} / ${SWITCH_MODEL} with nemohermes inference set..."
switch_output=$(nemohermes inference set --provider "$SWITCH_PROVIDER" --model "$SWITCH_MODEL" 2>&1)
# --no-verify skips the upfront endpoint verification (60s timeout) that is
# redundant here: Phase 4 (check_inference_local, check_hermes_api_chat) already
# validates live inference after the switch. Removing the verify step avoids
# flaky failures when the upstream model API is temporarily slow. (#4101-nightly)
switch_output=$(nemohermes inference set --provider "$SWITCH_PROVIDER" --model "$SWITCH_MODEL" --no-verify 2>&1)
switch_rc=$?
if [ "$switch_rc" -eq 0 ]; then
pass "nemohermes inference set completed without --sandbox"
Expand Down
Loading