fix: tool_use_id is nil

This commit is contained in:
yetone
2025-07-17 14:28:35 +08:00
parent cf5234b4d9
commit cd81fbf8af
2 changed files with 4 additions and 0 deletions

View File

@@ -1324,6 +1324,8 @@ function M.process_tool_use(tools, tool_use, opts)
end
on_complete(result, err)
end,
streaming = opts.streaming,
tool_use_id = opts.tool_use_id,
})
-- Result and error being nil means that the tool was executed asynchronously