Files
hermes-agent/agent
liuhao1024 d3b2602516 fix(agent): skip /v1/models/{model} probe for unrecognised server types
When detect_local_server_type() returns None (e.g. LiteLLM proxies),
the unconditional GET /v1/models/{model} probe hits an admin-gated
endpoint that logs ERROR on the server side, even though the 401 falls
through gracefully.

Guard the probe behind server_type in (ollama, lm-studio, vllm, llamacpp)
so unrecognised servers skip straight to the universally-supported
/v1/models list endpoint.

Fixes #25848
2026-10-02 20:29:34 -05:00
..
…