Address PR feedback from CodeRabbit AI: - Add detailed docstring for search_task internal function - Document top_k parameter in main search function docstring - Fix default top_k inconsistency (was 10 in client, now 5 everywhere) - Clarify performance implications of different top_k values Changes: - server.py: Add top_k parameter documentation and search_task docstring - cognee_client.py: Change default top_k from 10 to 5 for consistency This ensures consistent behavior across the MCP call chain and provides clear guidance for users on choosing appropriate top_k values. |
||
|---|---|---|
| .. | ||
| codingagents | ||
| __init__.py | ||
| client.py | ||
| cognee_client.py | ||
| server.py | ||
| test_client.py | ||