Disable parallel tool use

It's unlikely to happen in practice and even less likely to be useful
This commit is contained in:
Alessandro Pignotti 2025-03-02 14:02:41 +01:00
parent 3b2b99390b
commit 56ee9ac3f5

View File

@ -42,6 +42,7 @@ async function sendMessages(handleTool)
system: "You are running on a virtualized machine. Wait some extra time after all operations to compensate for slowdown.", system: "You are running on a virtualized machine. Wait some extra time after all operations to compensate for slowdown.",
model: 'claude-3-7-sonnet-20250219', model: 'claude-3-7-sonnet-20250219',
tools: [tool], tools: [tool],
tool_choice: {type: "auto", disable_parallel_tool_use: true},
betas: ["computer-use-2025-01-24"] betas: ["computer-use-2025-01-24"]
}); });
// Remove all the image payloads, we don't want to send them over and over again // Remove all the image payloads, we don't want to send them over and over again