Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

fix: pass template as named argument (#233)

cachhod0c42f5c2a1f
diff --git a/embedchain/config/ChatConfig.py b/embedchain/config/ChatConfig.py
index 60d16b0e2..3e031d828 100644
--- a/embedchain/config/ChatConfig.py
+++ b/embedchain/config/ChatConfig.py
@@ -57,7 +57,7 @@ class ChatConfig(QueryConfig):
# there don't have to be two templates. Having two templates would make it
# complicated because the history is not user controlled.
super().__init__(
- template,
+ template=template,
model=model,
temperature=temperature,
max_tokens=max_tokens,