fix(channels): recover malformed invoke/tool_call output in daemon mode

This commit is contained in:
Chummy 2026-02-18 15:34:34 +08:00
parent 75a9eb383c
commit 219764d4d8
4 changed files with 251 additions and 41 deletions

View file

@ -150,7 +150,7 @@ mod tests {
#[tokio::test]
async fn store_with_custom_category() {
let (_tmp, mem) = test_mem();
let tool = MemoryStoreTool::new(mem.clone());
let tool = MemoryStoreTool::new(mem.clone(), test_security());
let result = tool
.execute(
json!({"key": "proj_note", "content": "Uses async runtime", "category": "project"}),