Prevent multiple tool calls per single step
I tried setting parallel_tool_calls in providerOptions but that doesn’t seem to work. const result = streamText({ model: aiClient(modelName), system: enhancedSystemPrompt,...
Prevent multiple tool calls per single step
is there a way to prevent multiple tool calls per single step? For example, I set max step to be 2 and the tool I give is image generation. Now, I can ask the model to generate 4...
No accepted solutions yet
No badges yet