chore: add detailed engine type logging for verification

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-02 02:18:29 -08:00
parent 59a3e60b82
commit a78e2cd923
1 changed files with 7 additions and 1 deletions

View File

@ -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: