From a78e2cd92395d5ec25f279f6dad248b93d9dcac8 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 2 Mar 2026 02:18:29 -0800 Subject: [PATCH] chore: add detailed engine type logging for verification Co-Authored-By: Claude Opus 4.6 --- packages/services/voice-agent/src/plugins/agent_llm.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/services/voice-agent/src/plugins/agent_llm.py b/packages/services/voice-agent/src/plugins/agent_llm.py index 82eab8f..d7dc523 100644 --- a/packages/services/voice-agent/src/plugins/agent_llm.py +++ b/packages/services/voice-agent/src/plugins/agent_llm.py @@ -232,7 +232,13 @@ class AgentServiceLLMStream(llm.LLMStream): if self._llm_instance._agent_session_id: body["sessionId"] = self._llm_instance._agent_session_id - logger.info("POST /tasks engine=%s prompt=%s", engine_type, user_text[:80]) + logger.info( + "POST /tasks engine=%s wrapped=%s user_text=%s body.engineType=%s", + engine_type, + engine_type == "claude_agent_sdk", + user_text[:80], + body["engineType"], + ) async with httpx.AsyncClient( timeout=httpx.Timeout(connect=10, read=30, write=10, pool=10), ) as client: