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.

bug: fix online bug in chat endpoint (#354)

Taranjeet Singh49711c92b74d
diff --git a/embedchain/embedchain.py b/embedchain/embedchain.py
index 71c9575b5..7b907c36e 100644
--- a/embedchain/embedchain.py
+++ b/embedchain/embedchain.py
@@ -289,7 +289,7 @@ class EmbedChain:
k = {}
if self.online:
k["web_search_result"] = self.access_search_and_get_results(input_query)
- contexts = self.retrieve_from_database(input_query, config, **k)
+ contexts = self.retrieve_from_database(input_query, config)
global memory
chat_history = memory.load_memory_variables({})["history"]