feat(agent): add built-in grep and glob search tools

This commit is contained in:
Xubin Ren
2026-04-02 15:37:57 +00:00
parent 7113ad34f4
commit 15cc9b23b4
11 changed files with 932 additions and 11 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ def _is_tool_choice_unsupported(content: str | None) -> bool:
class MemoryStore:
"""Two-layer memory: MEMORY.md (long-term facts) + HISTORY.md (grep-searchable log)."""
"""Two-layer memory: MEMORY.md (long-term facts) + HISTORY.md (best searched with grep)."""
_MAX_FAILURES_BEFORE_RAW_ARCHIVE = 3