Commit ac762bac
ac762bac0910Merged
Scott Nixon <[email protected]> ยท 5 months ago ยท 2 files ยท ~2 modified
Description
fix: update ToolResult call sites for tool_name field added in main
Message::tool_result now takes (id, tool_name, content, is_error). Fix the missing tool_name argument in attractor-agent and add .. to the incomplete ToolResult pattern in attractor-llm/anthropic.rs.
Details
- Commit
- ac762bac0910
- Parent
- b06ce089fbc7
crates/attractor-agent/src/lib.rsmodifiedView file
@@ -331,6 +331,7 @@
331331
for result in results {332332
messages.push(Message::tool_result(333333
&result.tool_call_id,334+
&result.tool_name,334335
&result.content,335336
result.is_error,336337
));crates/attractor-llm/src/anthropic.rsmodifiedView file
Loading diffโฆ