Skip to content

#1 Persistent memory for AI coding agents based on real-world benchmarks

fix(hermes): use correct API keys tool_input/tool_output in sync_turn (#384)

Virgile57ffe91302af
diff --git a/integrations/hermes/__init__.py b/integrations/hermes/__init__.py
index 7f17d98a..abfaf5a1 100644
--- a/integrations/hermes/__init__.py
+++ b/integrations/hermes/__init__.py
@@ -344,8 +344,8 @@ class AgentMemoryProvider(MemoryProvider):
"timestamp": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()),
"data": {
"tool_name": "conversation",
- "input": user[:500],
- "output": assistant[:2000],
+ "tool_input": user[:500],
+ "tool_output": assistant[:2000],
},
})