ReMe/reme/components/agent_wrapper
jinliyl 7369342115
feat(search): add tool context deduplication and improve search configuration (#321)
* feat(search): add tool context deduplication and improve search configuration

- Modify _make_tool methods to accept and inject tool_context_id parameter
- Add tool_context_id handling in AS and CC agent wrappers
- Increase search candidate multiplier from 3.0 to 5.0 in default config
- Extend HTTP client timeout from 30s to 3600s
- Add tool context deduplication logic to prevent duplicate search results
- Implement TTL-based expiration for seen chunks in tool contexts
- Add comprehensive unit tests for tool context deduplication behavior
- Update .gitignore to exclude longmemeval directory
- Add time import for timestamp functionality in search step

* refactor(search): replace time module with datetime for timestamp generation

- Removed unused time import
- Added static method _now_ts using datetime.timestamp
- Updated clock parameter to use _now_ts method instead of time.time
- Maintained same timestamp precision and functionality
2026-07-06 16:18:39 +09:00
..
__init__.py feat: add Claude Code plugin with auto-memory functionality (#297) 2026-06-26 14:46:42 +08:00
as_agent_wrapper.py feat(search): add tool context deduplication and improve search configuration (#321) 2026-07-06 16:18:39 +09:00
base_agent_wrapper.py docs: rename vault_dir to workspace_dir in documentation and examples (#286) 2026-06-22 16:58:57 +08:00
cc_agent_wrapper.py feat(search): add tool context deduplication and improve search configuration (#321) 2026-07-06 16:18:39 +09:00