M7: json + rpc modes, subprocess extensions (closes #52 #53 #54)
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s

This commit is contained in:
hermes committed 2026-09-30 21:40:20 +00:00
1 parent cf8268d17b
commit a01d0cbb5b
15 files changed
+723 -3

No files matched your search

+10 -1
View File
@@ -266,9 +266,18 @@ impl Agent {
.await;
match o.blocked {
Some(r) => {
let content = format!("blocked: {r}");
self.emit(Event::ToolResult {
id: id.clone(),
name: name.clone(),
args: args.clone(),
content: content.clone(),
is_error: true,
})
.await;
results[i] = Some(ContentBlock::ToolResult {
tool_use_id: id.clone(),
content: format!("blocked: {r}"),
content,
is_error: true,
})
}