debug(planner-agent): log api_base before each litellm call [TEMP]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dcacac6965
commit
99200e6690
|
|
@ -339,6 +339,13 @@ class LLMRouter:
|
||||||
if cfg.api_base:
|
if cfg.api_base:
|
||||||
kwargs["api_base"] = cfg.api_base
|
kwargs["api_base"] = cfg.api_base
|
||||||
|
|
||||||
|
# DEBUG — temporary, remove after confirming OLLAMA_API_BASE routing
|
||||||
|
logger.info(
|
||||||
|
"[llm_router][DEBUG] calling litellm model=%s api_base=%s",
|
||||||
|
cfg.name,
|
||||||
|
kwargs.get("api_base", "<not set>"),
|
||||||
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# asyncio.wait_for as belt-and-suspenders — litellm timeout
|
# asyncio.wait_for as belt-and-suspenders — litellm timeout
|
||||||
# is passed to the underlying HTTP client, but asyncio task
|
# is passed to the underlying HTTP client, but asyncio task
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue