https://retellai.com/?utm_source=discord&utm_medium=seo logo
component test results to an error and function ca...
# ❓・bug-report
d
am testing component feature but every time i try to run it from main component it results to internal server error and iyt doesn't call a function ,any ideas ? https://cdn.discordapp.com/attachments/1428353211852652624/1428353212406173837/Screenshot_2025-10-16_150055.png?ex=68f23117&is=68f0df97&hm=5938f217bf3c68c6238100e637496ee3b783a172a161b61cf05950cbad7710cb&
@shahretell @User any idea?
a
i am experiencing this as well
o
Hello @diddy345_63419 , this could happened because there was a function or a transition that was not successful in this component
d
i removed the function and inserted a node and it did work ,but when i put the function back it doesn't work ,now i tried defining the function in main flow and importing it in component ,it gave that error ,then deleted it there defined it in component flow it still gave that error @User
do you know the issue
here is a caller id:call_a5fd18c6275320a81808de33173
it happens when we use a function all the time @Omar Ashraf | Community Lead
@Omar Ashraf | Community Lead @Florian - support @ Retell AI @Colin - Integrations @ Retell AI @Colin - Integrations @ Retell AI @shahretell Functions created inside component not saving - causing Internal Server Error :I'm creating a function inside a component (opened component editor → added function with all configs), but when I export the agent JSON, the function only appears in the main flow's
tools
array, not inside the component itself. The
components
array is empty. This causes "Failed to get LLM response Error: Internal Server Error" when the component tries to call the function, because components can't access main flow functions. I've deleted and recreated the function inside the component 4+ times. The function works fine in the main flow and other agents, just not when defined in a component. Question: Why aren't functions I create inside a component being saved within the component's scope? Is this a bug or am I missing a step? Component ID:
conversation_flow_component_db51e42dbdc6
@Omar Ashraf | Community Lead
@Omar Ashraf | Community Lead
o
Hello @ahutna , @diddy345_63419 , i did inform the team about this, I will update you.
a
@Omar Ashraf | Community Lead brilliant thank you
h
Same issue here with the internal server error all week, then last night my functions started returning "Not found" but I could still see them in the funciton list. Gave up, went to bed. Woke up today and the function names are listed in the various function node info, but when I click on it, they are all gone in the component, but still exist in the main workflow. Can we get some better documentation on components in general? They would be a fantastic feature if we could rely on them. If they are still in beta or not to be relied on, please let us know so we don't go in circles with them for agents that we're trying to get to prod.
o
Hello guys this should be fixed Please recreate the functions in the component and recreate the function node to recover from the failure. The functions should only work within the component boundary so that it could be shared across. also in order to use Chat Test within the component, that component need to be added to the main CF to let it be correctly initiated .