chengyongru
3e3a7654f8
fix(agent): address code review findings for tool hint enhancement
- C1: Fix IndexError on empty list arguments via _get_args() helper
- I1: Remove redundant branch in _fmt_known
- I2: Export abbreviate_path from nanobot.utils.__init__
- I3: Fix _abbreviate_url negative-budget format consistency
- S1: Move FORMATS to class-level _TOOL_HINT_FORMATS constant
- S2: Add list_dir to FORMATS registry (ls path)
- G1-G5: Add tests for empty list args, None args, URL edge cases,
mixed folding groups, and list_dir format
2026-04-07 15:15:07 +08:00
..
2026-04-02 22:42:25 +08:00
2026-04-02 22:42:25 +08:00
2026-04-04 11:09:37 +00:00
2026-04-05 22:10:34 +08:00
2026-03-24 15:12:22 +08:00
2026-03-25 10:00:29 +08:00
2026-04-04 10:01:45 +00:00
2026-03-24 15:12:22 +08:00
2026-04-02 22:42:25 +08:00
2026-04-02 22:42:25 +08:00
2026-03-25 22:07:14 +08:00
2026-04-01 19:12:49 +00:00
2026-04-04 10:11:53 +00:00
2026-03-24 15:12:22 +08:00
2026-04-07 15:03:41 +08:00
2026-04-04 20:08:44 +08:00
2026-03-24 15:12:22 +08:00
2026-04-06 02:51:10 +08:00
2026-04-01 19:12:49 +00:00
2026-04-07 15:15:07 +08:00