feat(aiturk): connect shared media MCP with the member provider key

This commit is contained in:
2026-09-05 14:48:52 +03:00
parent 9b6020f761
commit e874ce9c4c
4 changed files with 62 additions and 2 deletions
+3
View File
@@ -8823,6 +8823,9 @@ def _write_custom_endpoint(cfg: Dict[str, Any], body: CustomEndpointUpdate) -> T
providers[endpoint_id] = entry
cfg["providers"] = providers
from hermes_cli.aiturk_media import configure_media
configure_media(cfg, entry)
if body.make_default:
cfg["model"] = _apply_main_model_assignment(
cfg.get("model", {}), endpoint_id, model, base_url