https://retellai.com/?utm_source=discord&utm_medium=seo logo
I have agent that says tool_code while on the cal...
# ❓・bug-report
q
Agent:
Copy code
tool_code print(default_api.extract_dynamic_variables())
0:52 Agent:
Copy code
tool_outputs {"extract_dynamic_variables_response": {"output": "{\"var_be_check_from\":\"2025-12-02T14:00:00-08:00\",\"var_be_check_to\":\"2025-12-02T14:30:00-08:00\"}"}}
o
Hello @q40478 , what llm provider are you using ?
q
hi variable extraction & custom function both uses Gemini 2.0 flasg lite, but then changed to 2.5 flash. No difference.
entrire flow was Conversation node >> extract variable node >>Function node >> Conversasion node (date not available, ask caller for a new time) >> extract variable (same node as before, then you tool_outputs {"extract_dynamic_v) >> Function node (same as before, another message about tool but this time, that is uses function tool api.[function_name}. When agent tells what happenin under the hood, it moves to node and tells my time is available/unavailable 🙂 hope that makes sense
o
Hello @q40478 , Gemini doesn't always perform well with call tools , try to use GPT 4.1 models.