https://retellai.com/?utm_source=discord&utm_medium=seo logo
what's the difference between library components v...
# ❓・ai-evy-support
d
@AI Evy what's the difference between library components vs agent component
a
Thanks for tagging me @diddy345_63419. I'll look through relevant sources and get back to you shortly.
### Answer Based on Retell AI's Conversation Flow documentation, here's the difference between Library Components and Agent Components: *Library Components (Shared Components) * [(1) ]() : - Account-level components that are reusable across multiple agents - Edits sync to every agent that uses it—great for universal steps - When you edit a shared component, changes apply everywhere it's used *Agent Components (Local Components) * : - Live only in the current agent - Edits affect this agent only - Local to the current agent and don't sync with other agents Key Conversion Features : - You can turn on "Save component to library" to create a shared (library) version - You can turn off syncing to convert the reference in your agent to a local copy that stops receiving updates - If you delete a shared component from the library, it downgrades linked instances in agents to local copies and stops sync updates Both types are Components (mini flows with groups of nodes) that you can reuse, but the main difference is scope: Library Components work across all your agents, while Agent Components only work within the specific agent where they're created .
​ To learn more, see the sources I considered: [[1] Components](https://docs.retellai.com/build/conversation-flow/components) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@User so why is it that a function call in library component takes forever
@AI Evy so why is it that a function call in library component takes forever
a
Thanks for the follow-up, @diddy345_63419. I'll get back to you soon.
### Answer Based on the available sources, there isn't specific documentation indicating that Library Components inherently cause function calls to take longer than Agent Components [(1) ]() . However, there are documented cases of function call delays in Retell AI systems. The sources show that function call delays can occur due to several factors [(2) ]() [(3) ]() : Common Function Call Issues: - Sometimes function calls trigger as expected, but other times they check availability and then go silent before repeating and eventually working [(2) ]() - There have been reported delays of 1+ minutes between when Retell logs a function call and when the actual HTTP request is dispatched [(3) ]() Potential Causes: - TTS (Text-to-Speech) processing errors can cause delays in function execution - The issue appears to be intermittent and not consistently reproducible Troubleshooting Recommendations: - Add more specific prompts like "If xxxx, please immediately and reliably call the 'function_name' function" to improve function call reliability [(2) ]() - Monitor your call logs to identify if there are TTS errors or other system issues causing the delays [(3) ]() The delay issue doesn't appear to be specifically related to whether the component is a Library Component versus an Agent Component, but rather seems to be a broader function calling latency issue that can affect any function calls wit
hin the Retell AI system.
​ To learn more, see the sources I considered: [[1] Components](https://docs.retellai.com/build/conversation-flow/components) [[2] Function Call Issues](https://discord.com/channels/1186424376300679209/1289083506781192213) [[3] Delay Between Function call and Request Dispatch is 1min+](https://discord.com/channels/1186424376300679209/1415750014793158776) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.