zeroclaw/src/agent
Argenis fc3af217ad
fix(agent): prevent duplicate tool schema injection in XML dispatcher (#3744)
Remove duplicate tool listing from XmlToolDispatcher::prompt_instructions()
since tool listing is already handled by ToolsSection in prompt.rs. The
method now only emits the XML protocol envelope.

Also fix UTF-8 char boundary panics in memory consolidation truncation by
using char_indices() instead of manual byte-boundary scanning.

Fixes #3643
Supersedes #3678

Co-authored-by: TJUEZ <TJUEZ@users.noreply.github.com>
2026-03-24 15:17:21 +03:00
..
agent.rs fix(memory): filter autosave noise and scope recall/store by session (#3695) 2026-03-24 15:17:18 +03:00
classifier.rs feat(agent): log query classification route decisions 2026-02-24 16:02:59 +08:00
dispatcher.rs fix(agent): prevent duplicate tool schema injection in XML dispatcher (#3744) 2026-03-24 15:17:21 +03:00
loop_.rs fix(memory): filter autosave noise and scope recall/store by session (#3695) 2026-03-24 15:17:18 +03:00
memory_loader.rs fix(memory): filter autosave noise and scope recall/store by session (#3695) 2026-03-24 15:17:18 +03:00
mod.rs feat(agent): add rule-based query classification for automatic model routing 2026-02-18 14:41:58 +08:00
prompt.rs fix(agent): add channel media markers to system prompt (#3459) 2026-03-14 06:58:40 -04:00
tests.rs fix(agent): prevent duplicate tool schema injection in XML dispatcher (#3744) 2026-03-24 15:17:21 +03:00