summaryrefslogtreecommitdiff
path: root/llm.py
diff options
context:
space:
mode:
authorbatsumaru <>2026-09-15 14:25:49 +0900
committerbatsumaru <>2026-09-15 14:25:49 +0900
commit5629cabbb38c7d91e66a419ba7cb3a93a9a988a1 (patch)
treef72fc35376dc9bce014bc515ea7672c85782ed14 /llm.py
parent606e264c9c6ba99ae0c04a8463d37d85568f0c86 (diff)
Added long-term memory
Diffstat (limited to 'llm.py')
-rw-r--r--llm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/llm.py b/llm.py
index afd890c..16c8b82 100644
--- a/llm.py
+++ b/llm.py
@@ -30,7 +30,7 @@ class LLM:
payload: dict[str, object] = {
"messages": messages,
"max_tokens": max_tokens,
- "temperature": 0.7,
+ "temperature": 0.9,
}
if tools is not None:
@@ -43,6 +43,7 @@ class LLM:
response.raise_for_status()
data = response.json()
+ print(f"\n[debug: {data}]\n")
message = data["choices"][0]["message"]
content = message.get("content")