https://retellai.com/?utm_source=discord&utm_medium=seo logo
What are the best way to manage custom function ca...
# ❓・ai-evy-support
m
@AI Evy What are the best way to manage custom function call retries if say the LLM improperly parameterizes a request (ie misses some required parameter) in conversation flow? I've started to try manually having every tool call have a loop to retry manually but it's pretty unwieldy and unmaintainable as our convo flow grows
a
Thanks for tagging me @momsramen. I'll look through relevant sources and get back to you shortly.
### Answer There is no explicit documentation in the provided sources about automated or best-practice handling for retrying custom function calls when the LLM misses required parameters in Retell AI's conversation flow. The sources do describe the process for function calling, including how the LLM determines when to call a function and how parameters are extracted and sent, but do not specify built-in retry logic or recommended retry design patterns for this scenario [(1) ]() [(2) ]() . If you want, I can try to give a general answer based on my knowledge instead. Let me know if you’d like that. Check out these potentially useful sources: [Integrate Function Calling]() , [Function Calling Overview]() , [LLM WebSocket]()
​ To learn more, see the sources I considered: [[1] Integrate Function Calling](https://docs.retellai.com/integrate-llm/integrate-function-calling) [[2] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
@momsramen I'm having a similar problem with drawing a bunch of flows with different flow paths depending on the response error code. I'm even considering switching to multi-prompt agent. Do you have any thoughts on that?