Closed whiterabbit1983 closed 3 weeks ago
Hey @whiterabbit1983, here are examples of how you can ask me to improve this pull request:
@sweep Fix the CI errors.
@sweep Add unit tests for `search_user_docs` and `search_agent_docs` functions that verify the maximal marginal relevance (MMR) functionality works correctly with the new dynamic `search_params.limit` value instead of the hardcoded `k=3`. Tests should cover:
- Different limit values (e.g., 1, 5, 10)
- Cases where MMR is enabled vs disabled via `mmr_strength`
- Verify the returned document count matches the requested limit
:book: For more information on how to use Sweep, please read our documentation.