https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> why does the agent takes ro...
# ❓・ai-evy-support
v
@AI Evy why does the agent takes roughly 6-8 seconds in the initial after greeting to start the call and how can we fix this
a
Thanks for tagging me @vaughan_54004. I'll look through relevant sources and get back to you shortly.
### Answer Based on the sources, there are several configuration options that can help address initial greeting delays: ## Configuration Options to Reduce Delay You can adjust the
begin_message_delay_ms
parameter when creating or updating your agent [(1) ]() [(2) ]() [(3) ]() . This setting controls the delay before the agent's first message:
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
  begin_message_delay_ms: 0
}) ;
[(1) ]() The
begin_message_delay_ms
parameter has a valid range of [0, 5000] milliseconds [(1) ]() [(2) ]() [(3) ]() . Setting it to 0 will make the agent speak immediately when the agent speaks first . ## Community Experience According to community discussions, this is a known issue that affects multiple users [(4) ]() [(5) ]() [(6) ]() . One user reported their agent taking 9 seconds to say "Good afternoon" [(5) ]() , while others mentioned 5-6 second delays in greetings [(4) ]() [(6) ]() . Some users have found that setting the delay to 0 helps, with one reporting about 1.2-2 second delay after making this adjustment [(4) ]() . ## Next Steps If you're still experiencing delays after setting
begin_message_delay_ms
to 0, you may want to file a bug report with specific call IDs for further investigation [(4) ]() [(5) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.