mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-05-25 11:10:18 +00:00
be08842642
When using custom providers with private IPs (like AxonHub on internal networks), the SSRF protection incorrectly blocks API calls to the user's own configured endpoint. This fix automatically adds the model.base_url hostname to the SSRF trusted hosts list, since it's explicitly configured by the user. Fixes issues where /api/models and /v1/* endpoints fail silently when using custom providers with private IPs or IPv6 addresses.