From c22cdbffa50ac634f7fecf080f3c3b5662e67131 Mon Sep 17 00:00:00 2001 From: batsumaru <> Date: Thu, 17 Sep 2026 11:07:06 +0900 Subject: Added importance --- personal_agent/llm.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'personal_agent/llm.py') diff --git a/personal_agent/llm.py b/personal_agent/llm.py index cd35676..4a0274a 100644 --- a/personal_agent/llm.py +++ b/personal_agent/llm.py @@ -39,6 +39,7 @@ class LLM: if tools is not None: payload["tools"] = tools + logger.info("LLM request started") response = requests.post( self.url, json=payload, # type: ignore[arg-type] @@ -65,6 +66,12 @@ class LLM: ) ) + logger.info( + "LLM response received: tool_calls=%d, content_present=%s", + len(tool_calls), + content is not None, + ) + return LLMResponse( content=content, tool_calls=tool_calls, -- cgit v1.3