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> |
||
|---|---|---|
| .. | ||
| agent.rs | ||
| classifier.rs | ||
| dispatcher.rs | ||
| loop_.rs | ||
| memory_loader.rs | ||
| mod.rs | ||
| prompt.rs | ||
| tests.rs | ||