chore: add detailed engine type logging for verification
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
59a3e60b82
commit
a78e2cd923
|
|
@ -232,7 +232,13 @@ class AgentServiceLLMStream(llm.LLMStream):
|
||||||
if self._llm_instance._agent_session_id:
|
if self._llm_instance._agent_session_id:
|
||||||
body["sessionId"] = 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(
|
async with httpx.AsyncClient(
|
||||||
timeout=httpx.Timeout(connect=10, read=30, write=10, pool=10),
|
timeout=httpx.Timeout(connect=10, read=30, write=10, pool=10),
|
||||||
) as client:
|
) as client:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue