mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
acd86d33bc
Provide shared memory capability for the Agent. Inspired by #1293 . ## Problem If both Agent and Tools (i.e., LLMChain) use the same memory, both of them will save the context. It can be annoying in some cases. ## Solution Create a memory wrapper that ignores the save and clear, thereby preventing updates from Agent or Tools. |
||
---|---|---|
.. | ||
agent_vectorstore.ipynb | ||
async_agent.ipynb | ||
custom_agent.ipynb | ||
custom_tools.ipynb | ||
intermediate_steps.ipynb | ||
load_from_hub.ipynb | ||
max_iterations.ipynb | ||
multi_input_tool.ipynb | ||
search_tools.ipynb | ||
serialization.ipynb | ||
sharedmemory_for_tools.ipynb |