Max Duration 10.0 min
# support
g
My conversation is timing out exactly at the 10.0 minute mark with a "Max Duration Exceeded" Ended Reason. I have 1024 tokens and the max duration set to 1800 seconds. What other settings am I missing that is stopping the call at exactly the 10 minute mark? Thanks in advance!
v
Based on the information available, I don't have details on what other settings might be causing your conversation to end at exactly the 10-minute mark, even though you've set the max duration to 1800 seconds and have 1024 tokens. If there are additional configuration options or platform-specific limits affecting the call duration, they aren't included in the information I have. If you have access to more detailed logs or settings, reviewing those might help identify the cause.
Based on the information available, I don't have details on what other settings might be causing your conversation to end at exactly the 10-minute mark, even though you've set the max duration to 1800 seconds and have 1024 tokens. If there are additional configuration options or platform-specific limits affecting the call duration, they aren't included in the information I have. If you have access to more detailed logs or settings, reviewing those might help identify the cause.
g
Here is the call end log: 18:43:51:410 [LOG] Model request cost (attempt #1, $0.007488, 3436 prompt, 77 completion) 18:43:51:410 [CHECKPOINT] Model sent end token
@Vapi Support Bot end of call log: 18:43:51:410 [LOG] Model request cost (attempt #1, $0.007488, 3436 prompt, 77 completion) 18:43:51:410 [CHECKPOINT] Model sent end token
v
Thanks for sharing the call end log details. Based on the information available, I don't have any details about additional settings or platform-specific limits that could be causing your conversation to end at exactly the 10-minute mark, even though your max duration is set to 1800 seconds and you have 1024 tokens. If there are other configuration options affecting the call duration, they aren't included in the information I have.
Thanks for sharing the call end log details. Based on the information available, I don't have any details about additional settings or platform-specific limits that could be causing your conversation to end at exactly the 10-minute mark, even though your max duration is set to 1800 seconds and you have 1024 tokens. If there are other configuration options affecting the call duration, they aren't included in the information I have.
a
I'm having the same issue as well.
k
This because Vapi’s default maxDuration is 600 seconds, ensure you’re explicitly setting maxDuration: 1800 in your assistant’s configuration and that no other call parameters override it.
g
Yes, this is set to 1800 and I don't know what other config can overrise it. Can you advise what it may be?
k
Even if maxDuration is set to 1800, the call may still end at 10 minutes if maxDurationSeconds is overridden during call creation, silenceTimeoutSeconds is set to 600, or transport configs or default tools trigger early termination. Check these settings in your assistant and API calls.
2 Views