https://retellai.com/?utm_source=discord&utm_medium=seo logo
How do I make the agent stop and wait for user's r...
# ❓・ai-evy-support
d
@AI Evy How do I make the agent stop and wait for user's response. Have tried explicitly in the model content and also in the script, still agent goes to the next line, without waiting.
a
Thanks for tagging me @demigod0007_86086. I'll look through relevant sources and get back to you shortly.
### Answer For making the agent stop and wait for user responses, Retell AI has a specific hardcoded stop sequence:
NO_RESPONSE_NEEDED
[(1) ]() . When this sequence is encountered, the response generation stops . To implement this, you can prompt the LLM to output nothing by writing something like :
Copy code
- if user says "hold on", reply exactly the following: "NO_RESPONSE_NEEDED".
The
<WAIT_FOR_USER>
tag you mentioned is not the correct approach for Retell AI . Instead, use the
NO_RESPONSE_NEEDED
sequence in your prompts where you want the agent to pause and wait . You can also configure speech settings to adjust responsiveness - setting it lower makes the agent respond slower, which can be useful when you want the agent to wait longer before responding [(2) ]() . Reducing responsiveness by 0.1 adds 0.5 seconds of agent wait time .
​ To learn more, see the sources I considered: [[1] Make agent hold and respond nothing](https://docs.retellai.com/build/no-response) [[2] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
how excatly do I use it at the end of a line?
@AI Evy how excatly do I use it at the end of a line?
a
Thanks for the follow-up, @demigod0007_86086. I'll get back to you soon.
### Answer Based on the documentation, you don't use
NO_RESPONSE_NEEDED
at the end of a line - instead, you prompt the LLM to output this exact sequence when you want it to stop responding [(1) ]() . The documentation shows this example of how to implement it in your prompt :
Copy code
- if user says "hold on", reply exactly the following: "NO_RESPONSE_NEEDED".
You can also use it for other scenarios in your prompt, like [(2) ]() :
Copy code
- if user says "hold on", reply exactly the following: "NO_RESPONSE_NEEDED".
The key is that
NO_RESPONSE_NEEDED
is a hardcoded stop sequence that stops response generation entirely [(1) ]() . When the LLM outputs this sequence, the agent will hold and not respond . However, be aware that once
NO_RESPONSE_NEEDED
is used, it stops the agent entirely and is a terminal command [(3) ]() . Reminder messages won't resume unless the conversation remains active .
​ To learn more, see the sources I considered: [[1] Make agent hold and respond nothing](https://docs.retellai.com/build/no-response) [[2] Prompt guide & examples for specific situations](https://docs.retellai.com/build/prompt-situation-guide) [[3] NO_RESPONSE_NEEDED "disables" the Reminder Message Frequency setting](https://discord.com/channels/1186424376300679209/1407515064260624525) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy instead of completely stopping the agent, is there a way, I can make the agent wait till I get a response from the user
a
Thanks for the follow-up, @demigod0007_86086. I'll get back to you soon.
### Answer Based on the available sources,
NO_RESPONSE_NEEDED
is designed as a hardcoded stop sequence that completely stops response generation [(1) ]() . The documentation doesn't describe a way to make the agent pause temporarily and then resume automatically. However, you have a few alternatives to achieve similar behavior: 1. Adjust Responsiveness Settings You can configure the agent's responsiveness to make it wait longer before responding [(2) ]() . Setting responsiveness lower makes the agent respond slower - reducing responsiveness by 0.1 adds 0.5 seconds of agent wait time . 2. Configure Reminder Settings You can set up reminder frequency to control how often the agent will remind the user when the user is inactive [(2) ]() [(3) ]() . This allows the agent to wait and then prompt the user if they haven't responded after a certain period. 3. Use Custom Functions You could potentially implement custom logic using custom functions [(4) ]() to handle specific waiting scenarios, though this would require more complex implementation. Important Note about GPT-5 There's a known issue where
NO_RESPONSE_NEEDED
doesn't work properly with GPT-5 models - instead of being treated as a control token, the agent speaks "NO RESPONSE NEEDED" out loud [(5) ]() . This appears to be a model-specific compatibility issue, and you'll need to continue using GPT-4o for agents that require the
NO_RESPONSE_NEEDED
functionality . The sources don't show a built-in way t
o make the agent pause temporarily and then automatically resume waiting for user input. The
NO_RESPONSE_NEEDED
sequence is specifically designed as a terminal command to stop the agent completely.
​ To learn more, see the sources I considered: [[1] Make agent hold and respond nothing](https://docs.retellai.com/build/no-response) [[2] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) [[3] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) [[4] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[5] NO_RESPONSE_NEEDED is not working with the new gpt-5 model](https://discord.com/channels/1186424376300679209/1416025734589190144) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.