Agent stops midway
# support
n
Hi @Vapi Support On my voice agent my agent keeps stopping mid sentences. I have adjusted the tokens to be 250 but whats the best way to get the agent to speak 2-3 sentences at the max but not stop mid way and stop only after completing the sentence #1211483291191083018 @User
v
Please tag me in threads that I was a part of from the start.
s
call_id pls? @nsuraj
n
687b3d2c-9191-4ee8-8db8-4ed5e3d60b1a @Sahil
s
Wrap your system prompt with this PLEASE DON'T RESPOND IN MORE THAN 2-3 SENTENCES. THIS IS A VOICE CONVERSATION.
Then, test it out and let me know the result.
n
ok thanks
the first was ok.. ill keep testing. Do you have recommendation on the settings/providers for a voice call that i can look at for reference
Hi @Sahil it is still an issue. Here's the call id a230f170-a925-4007-aaa0-18485910a556
and over time it keeps repeating / looping words 63690294-7ced-4f9b-88ba-da1d4c5c0bf0
s
You need to trial and test for it man.
I will talk to nikhil for the looping issue
n
Yes weve tried and tested it since 23rd.
I can send you numerous call ids if you prefer
These are all after implementing your suggestion.
The call id i sent now is the latest one
s
Usually looping and repeating issues during the function call.
Can you also point the exact time where it started looping?
n
Im talking about it stopping mid sentence.. its still stopping mid sentence.
The repeat/looping is another issue on same agent. Ill share the timestamp shortly
here;s the time stamp for repeat/looping 00:16 - 00:21 onwards twice
@Sahil ^
s
Please share the call id along with the timestamp with looping and other issues which are happening.
I will get the solution by tonight.
a230f170-a925-4007-aaa0-18485910a556 => PlayHT 63690294-7ced-4f9b-88ba-da1d4c5c0bf0 => 11labs Can you try voice provider openai once or rime-ai?
Also, play with this options
n
Ok. Thanks @Sahil
This worked but now the issue is it still stops midway but at 3 mins 30 seconds even though max duration is set to 1800 seconds @Sahil @User
s
You can just remove the 1800 seconds
But, I still will look into it can you send me your call id?