inference set with any upstream other than gemini-api breaks the Hermes dashboard: the seeder copies the OpenShell provider name into Hermes model.provider
Investigation Summary
seed-hermes-dashboard-config.py writes the OpenShell provider name verbatim into the Hermes model.provider of dashboard-home/config.yaml; Hermes rejects any name outside its own provider vocabulary. The same inference set run writes provider: custom into the gateway home (/sandbox/.hermes/config.yaml), which works — only the dashboard home gets the raw upstream name. This is masked today because gemini-api exists in both vocabularies; switching to compatible-endpoint reproduces it immediately. _route_provider_name() deliberately skips model.provider when it equals custom, i.e. it avoids the one value Hermes would accept for a rewritten endpoint. Not yet checked: whether other agents (OpenClaw) hit the same path, and whether any upstream name besides gemini-api happens to be valid for Hermes.
Description
Pointing the gateway inference route at any supported upstream other than gemini-api leaves the Hermes dashboard unable to start. The desktop app (Remote gateway) shows:
agent init failed: Unknown provider 'compatible-endpoint'. Check 'hermes model' for available providers, or run 'hermes doctor' to diagnose config issues.
Expected: the dashboard starts and routes through the configured upstream, the same way the gateway (Slack) path does.
Actual: dashboard-home/config.yaml ends up with model.provider: compatible-endpoint, which is an OpenShell provider name, not a Hermes one. The dashboard is unusable until the route is set back to gemini-api.
The cause is in /usr/local/lib/nemoclaw/seed-hermes-dashboard-config.py:
def _route_provider_name(gateway: dict) -> str: upstream = gateway.get("_nemoclaw_upstream") if isinstance(upstream, dict): value = upstream.get("provider") if isinstance(value, str) and value.strip(): return value.strip() # OpenShell name, written verbatim model = gateway.get("model") if isinstance(model, dict): value = model.get("provider") if isinstance(value, str) and value.strip() and value.strip().lower() != "custom": return value.strip() # "custom" deliberately skipped ... Suggested fix: map OpenShell upstream names onto Hermes provider names before writing model.provider, or write custom for any upstream delivered through the inference.local rewrite — mirroring what the gateway home already receives.
Reproduction Steps
Start from a working Hermes sandbox whose inference route is gemini-api (desktop app connects and answers normally).
Switch the route to another supported upstream:
nemoclaw inference set --provider compatible-endpoint --model dgx-qwen
--endpoint-url http://host.openshell.internal:4000/v1
--inference-api openai-completions --no-verify --sandbox my-hermes
Inspect the seeded config:
docker exec
model:
default: dgx-qwen
provider: compatible-endpoint <-- OpenShell name in a Hermes field
Compare with the gateway home, which is fine:
docker exec
model:
default: dgx-qwen
provider: custom
Restart the sandbox dashboard and connect the desktop app → Unknown provider.
Setting the route back (nemoclaw inference set --provider gemini-api --model gemini-3.5-flash-lite) restores a working dashboard.
Environment
OS: Windows 11 + WSL2 (Ubuntu 24.04.4 LTS), kernel 6.6.114.1-microsoft-standard-WSL2 Hardware: x86_64 workstation (inference upstream is a separate DGX Spark on the LAN) Node.js: v22.23.1 Docker: Docker Engine 29.4.0 NemoClaw: v0.0.90 OpenShell: 0.0.85 hermes-agent in sandbox: 0.18.0 Sandbox: my-hermes, agent hermes, dedicated gateway on port 8990
Debug Output
Debug Output
Logs
agent init failed: Unknown provider 'compatible-endpoint'. Check 'hermes model' for available providers, or run 'hermes doctor' to diagnose config issues.
Unknown provider 'compatible-endpoint'. Check 'hermes model' for available providers, or run 'hermes doctor' to diagnose config issues.
Checklist
- [x] I confirmed this bug is reproducible
- [x] I searched existing issues and this is not a duplicate