Is there a way to configure the LiveKit agents fra...
# ask-ai
b
Is there a way to configure the LiveKit agents framework to prevent the LLM from calling the same function tool multiple times while it's still executing?
t
Thanks for reaching out, Nader. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
m
@brainy-australia-12132 did you find any solution?
m
you can programatically remove tools and then re-add them at runtime but it sounds more like this would be solved via prompt changes
m
yes bro, I also do similar to this.I changed a variable to true when tool is executing, so every while calling a function it does only if variable is false thanks for your response