The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
feat: pass QueryConfig to dry_run (#173)
gasolin5e6aef1e3797
diff --git a/embedchain/embedchain.py b/embedchain/embedchain.pyindex cc5e62de4..15f0c5b6a 100644--- a/embedchain/embedchain.py+++ b/embedchain/embedchain.py@@ -279,7 +279,7 @@ class EmbedChain:memory.chat_memory.add_ai_message(answer)return answer- def dry_run(self, input_query):+ def dry_run(self, input_query, config: QueryConfig = None):"""A dry run does everything except send the resulting prompt tothe LLM. The purpose is to test the prompt, not the response.@@ -387,4 +387,4 @@ class OpenSourceApp(EmbedChain):response = gpt4all_model.generate(prompt=prompt,)- return response\ No newline at end of file+ return response