When I call MemoryStoreManager.invoke() without a query_model, it runs the same search twice.
I tested this on main with one message and query_limit=5:
- The first search uses a limit of 10.
- The second search uses a limit of 5.
- The code only keeps the result from the second search.
The two searches are here.
Can I remove the first search and add a test for this case?
When I call
MemoryStoreManager.invoke()without aquery_model, it runs the same search twice.I tested this on
mainwith one message andquery_limit=5:The two searches are here.
Can I remove the first search and add a test for this case?