Verification Command

Run this on the Pi when you need to confirm the provider resolves without printing secrets:

cd /opt/rise-of-pi/hermes-agent
HERMES_HOME=/mnt/kitchen/private/hermes /mnt/kitchen/private/hermes/venv/bin/python - <<'PY'
import os, sys
from pathlib import Path

for line in Path('/mnt/kitchen/private/hermes/.env').read_text().splitlines():
    if not line or line.startswith('#') or '=' not in line:
        continue
    k, v = line.split('=', 1)
    os.environ.setdefault(k, v)

sys.path.insert(0, '/opt/rise-of-pi/hermes-agent')
from agent.auxiliary_client import resolve_provider_client

client, model = resolve_provider_client('minimax')
print('provider=minimax')
print('client=' + (type(client).__name__ if client else 'None'))
print('model=' + str(model))
print('key_present=' + str(bool(os.environ.get('MINIMAX_API_KEY'))))
base = getattr(client, 'base_url', None)
if base:
    print('base_url=' + str(base))
PY

Expected result as of verification:

provider=minimax
client=AnthropicAuxiliaryClient
model=MiniMax-M2.7
key_present=True
base_url=https://api.minimax.io/anthropic

If this fails with ModuleNotFoundError: No module named 'openai', the command probably used bare system python3. Re-run it with /mnt/kitchen/private/hermes/venv/bin/python.