We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1372a57 commit ed28b01Copy full SHA for ed28b01
1 file changed
lua/CopilotChat/client.lua
@@ -445,7 +445,7 @@ function Client:ask(opts)
445
446
if out.tool_calls then
447
for _, tool_call in ipairs(out.tool_calls) do
448
- local key = tool_call.id or tool_call.index or tool_call.name or (#tool_calls:values() + 1)
+ local key = tostring(tool_call.index or tool_call.id or tool_call.name or #tool_calls:values() + 1)
449
local existing = tool_calls:get(key)
450
451
if not existing then
0 commit comments