Assistant keeps stopping during mid sentence.
# support
b
Here is an example id where the assistant just stops speaking in mid sentence, pauses, and then asks the user if they are still there. Call id: e12f6bef-9bd6-4945-93f2-efbc52a71521
v
Hi there! I understand how frustrating it can be when your assistant stops mid-sentence during calls. While I can't access the specific logs for the call ID you provided (e12f6bef-9bd6-4945-93f2-efbc52a71521), I can definitely help explain some common reasons why this might be happening and suggest some troubleshooting steps. There are several potential causes for an assistant stopping mid-sentence: ### Knowledge Base Issues The assistant might stop midway while reading knowledge base files. According to [user reports](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329700156827893821), this can happen randomly with no error messages displayed. ### Network and Connection Issues Network delays or connection problems with the transcriber can cause interruptions. As noted in [troubleshooting documentation](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332133296347549797), checking network latency is an important step. ### Configuration Settings to Check Several configuration settings could be causing this behavior: 1. **Adjust
maxDurationSeconds
and `numWordsToInterruptAssistant`**: These settings control how long the assistant speaks and when it can be interrupted. According to [configuration guidance](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334027136305991750), adjusting these can help. 2. **Review your
start_speaking_plan
and
transcriber
settings**: The [recommended configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338497725917827196) includes:
Copy code
json
   "start_speaking_plan": {
     "waitSeconds": 0.8,
     "smartEndpointingEnabled": true
   }
Copy code
json
   "transcriber": {
     "model": "nova-2",
     "language": "en",
     "provider": "deepgram",
     "endpointing": 300
   }
3. **Check endpointing settings**: If using Deepgram, set endpointing to 300ms to better capture words, as suggested in [configuration documentation](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332286268805087272). ### Other Potential Issues - **OpenAI Issues**: There have been instances where OpenAI models weren't returning responses properly, as mentioned in [issue reports](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339987639088185375). - **System Limitations or Bugs**: These can cause unexpected behavior in the assistant, according to [user reports](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1296852804631265392). - **Voicemail Detection**: Incorrect voicemail detection settings can conflict with silence timeout settings, as noted in [configuration issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344633027925377064). Is there anything specific about your configuration or setup that you'd like me to help troubleshoot further? Sources: - [Knowledge Base Issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329700156827893821) - [Network and Connection Issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332133296347549797) - [Configuration Settings](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334027136305991750) - [Start Speaking Plan Configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338497725917827196) - [Endpointing Settings](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332286268805087272) - [OpenAI Issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339987639088185375) - [System Limitations](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1296852804631265392)
b
This is another call id: 7192e0ae-4f40-475b-bb9c-134a4c7787ed. However, from the recording there is quite a bit of background noise like the user is on a speakerphone and it doesn't seem to be ignored correctly.
Here is another call id where there is no discernible background noise but the assistant keep stopping mid sentence, Date : Apr 9, 2025, 20:52 call id: 50a450cf-b321-41a6-bc29-890cacd4523c
k
Hey, let me check with the team. I couldn't find the logs for these calls. Let me try to get the logs and get back to you.
b
The logs are in the vapi dashboard.
k
Yes
šŸ”µ 00:56:48:092 \[user LOG\] Model output: aol dot com to update your account šŸ”µ 00:56:48:278 \[user LOG\] Model output: information. If you decide to cancel your pai šŸ”µ 00:56:48:511 \[user LOG\] Model output: d subscription, please call us or visit cancel dot aol dot com šŸ”µ 00:56:48:590 \[user LOG\] Model output: before your next billing date to avoid being charged. Do šŸ”µ 00:56:48:596 \[user LOG\] Model output: you have any questions? šŸ”µ 00:56:48:591 \[user LOG\] Voice input: If you decide to cancel your paid subscription, please call us or visit cancel dot aol dot com before your next billing date to avoid being charged. šŸ”µ 00:56:48:591 ElevenLabs (Websocket #36) Pushing 148... "If you decide to cancel your paid subscription, please call us or visit cancel dot aol dot com before your next billing date to avoid being charged." šŸ”µ 00:56:48:596 ElevenLabs (Websocket #36) Pushing 26... "Do you have any questions?" šŸ”µ 00:56:48:597 ElevenLabs (WebSocket #36) Sending EOS Message... šŸ”µ 00:57:14:790
assistant
Final Transcript : If you decide to cancel your paid subscription,: 0.9707031 šŸ”µ 00:57:15:903
assistant
Final Transcript : please call us.: 0.9790039
If you look at the logs, you will understand why the assistant was speaking when the VAD identified user speech is possibly starting, which might have eventually resulted in an interruption. For me to now confirm this, I require to listen to the call recording, and then I'll suggest you further endpointing solutions. As you can see in the below screenshots, on the left is that I can't access the call recording. Please share the call recording with me. https://cdn.discordapp.com/attachments/1359563980607062058/1361135559875104959/image.png?ex=67fda7c6&is=67fc5646&hm=80ff91712f96c0194fcdfd48df6f52abfa2c5c896e21604ba398d893024298e5& https://cdn.discordapp.com/attachments/1359563980607062058/1361135560227557476/image.png?ex=67fda7c6&is=67fc5646&hm=9b7fbca1ff026058608cd80275559009ce07607c2aacf669dee015e5f232b5fd&
b
Are there any further development on this issue? We're seeing more and more of these.
k
Can you share some latest call_id?