I am building a bot that works with 4.1 with the t...
# ask-ai
r
I am building a bot that works with 4.1 with the tools enabled. However, when I try to set it up with Llama 4 Maverick, it totally breaks and tries to execute the tools before anything has even been said, and it goes off script. When I disable the tools but keep the prompt the same, the bot works perfectly. Has anyone seen this before?
t
Thanks for reaching out, Kyle. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! To get to the bottom of why Llama 4 Maverick is running tools a bit too early, could you share a few details with me? • Your exact model setup and the code you used to get it started • What exactly you’re seeing happen—like when the tools run versus when you expect them to • Any error messages or logs that pop up around the early execution • Which tools you’re using and how your model settings are configured • Is this happening with all your tools or just certain ones? • Also, the version of the LiveKit agents framework you’ve got running Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/models.py | Baseten LLM integration guide | LiveKit Docs | plugins/openai/src/models.ts