2025.11.6
This commit is contained in:
1 parent
138a7cf9f4
commit
033a687e65
17 files changed
+66737
-8
No files matched your search
@@ -50,6 +50,7 @@ def get_session_history(session_id:str):
|
||||
return store[session_id]
|
||||
|
||||
|
||||
# 添加记忆功能
|
||||
agent_with_memory = RunnableWithMessageHistory(
|
||||
runnable=agent_executor,
|
||||
get_session_history=get_session_history,
|
||||
|
||||
Reference in new issue
Block a user