From 5b55b4028a84c9553f8046f9fc6082ee1c77a8ef Mon Sep 17 00:00:00 2001 From: suluyan Date: Mon, 6 Jan 2025 18:01:40 +0800 Subject: [PATCH] fix documents --- modelscope_agent/memory/memory_with_rag.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modelscope_agent/memory/memory_with_rag.py b/modelscope_agent/memory/memory_with_rag.py index d61a2e332..1203395ec 100644 --- a/modelscope_agent/memory/memory_with_rag.py +++ b/modelscope_agent/memory/memory_with_rag.py @@ -38,6 +38,7 @@ def __init__(self, llm=llm, cache_dir=storage_path, use_cache=use_knowledge_cache, + documents=[], **kwargs) @enable_rag_callback