Compare commits

...

1 Commits

Author SHA1 Message Date
txhno
8d04a82043 Fix profile list model display 2026-03-30 20:39:33 -07:00

View File

@@ -241,7 +241,7 @@ def _read_config_model(profile_dir: Path) -> tuple:
if isinstance(model_cfg, str):
return model_cfg, None
if isinstance(model_cfg, dict):
return model_cfg.get("model"), model_cfg.get("provider")
return model_cfg.get("default") or model_cfg.get("model"), model_cfg.get("provider")
return None, None
except Exception:
return None, None