文件历史

1 次代码提交

作者 SHA1 备注 提交日期
Rohit P 7d24433049 Add async tool execution
Add Tools.aexecute_tool, which awaits async def tool callables and runs
blocking sync tools in a worker thread via asyncio.to_thread. The per-call
work (argument validation, policy evaluation, trace events, and tool-result
message building) is factored into shared helpers, so the sync execute_tool
and the new async path stay in lockstep with no duplicated tool-loop logic.
2026-06-23 10:34:43 +02:00