Self-hosted AI workspace.
Python
fix(tools): use _INTERNAL_BASE in serve-session endpoint registration (#3675)
Rares Tudor92d337be29ec
diff --git a/src/tool_implementations.py b/src/tool_implementations.pyindex 5e62e686c..c9b4fa294 100644--- a/src/tool_implementations.py+++ b/src/tool_implementations.py@@ -2684,7 +2684,7 @@ async def _ensure_served_endpoint(try:async with httpx.AsyncClient(timeout=30) as client:resp = await client.post(- f"{_COOKBOOK_BASE}/api/model-endpoints",+ f"{_INTERNAL_BASE}/api/model-endpoints",data=payload,headers=_internal_headers(),)