fix(gateway): handle provider command without config

This commit is contained in:
Kenny Xie
2026-04-09 23:14:19 -07:00
committed by Teknium
parent 7cec784b64
commit 5b8beb0ead
2 changed files with 1 additions and 4 deletions

View File

@@ -3861,6 +3861,7 @@ class GatewayRunner:
# Resolve current provider from config
current_provider = "openrouter"
model_cfg = {}
config_path = _hermes_home / 'config.yaml'
try:
if config_path.exists():