fix: initialize cfg_base_url for custom providers

Co-authored-by: Nathan Esquenazi <nesquena@gmail.com>
This commit is contained in:
nesquena-hermes
2026-04-05 08:25:20 -07:00
committed by GitHub
parent 2f01afd557
commit df9ad1fd27

View File

@@ -427,6 +427,7 @@ def get_available_models() -> dict:
# 1. Read config.yaml model section
model_cfg = cfg.get('model', {})
cfg_base_url = ''
if isinstance(model_cfg, str):
default_model = model_cfg
elif isinstance(model_cfg, dict):