summaryrefslogtreecommitdiff
path: root/personal_agent/llm.py
diff options
context:
space:
mode:
authorbatsumaru <>2026-09-17 11:07:06 +0900
committerbatsumaru <>2026-09-17 11:07:06 +0900
commitc22cdbffa50ac634f7fecf080f3c3b5662e67131 (patch)
tree9d3aba8d47c5dfc5bd4c5972edc7a3a579afbe18 /personal_agent/llm.py
parent71879695b951dd30bbd6cbd25261e22ac7f8e5d1 (diff)
Added importance
Diffstat (limited to 'personal_agent/llm.py')
-rw-r--r--personal_agent/llm.py7
1 files changed, 7 insertions, 0 deletions
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,