https://retellai.com/?utm_source=discord&utm_medium=seo logo
I set up a chat widget with a Retell chat agent an...
# ❓・ai-evy-support
t
@AI Evy I set up a chat widget with a Retell chat agent and it's working on my website, however, there are two issues: 1. I configured the chat agent to speak first, but it always waits for the user to type something in the chat box first. Why? 2. The chat window is too small. How can I adjust the height and/or width (especially the width) of the window on desktop views?
a
Thanks for tagging me @tradermc11. I'll look through relevant sources and get back to you shortly.
### Answer For both issues you're experiencing: Issue 1: Chat agent not speaking first This is a known issue where the chat widget doesn't automatically initiate with the agent's first message even when configured to do so [(1) ]() . The agent needs to be properly configured to speak first in the agent settings . However, the exact configuration method for enabling agent-first initiation in the chat widget isn't detailed in the available documentation. Issue 2: Chat window size customization The current Retell Chat Widget implementation allows for basic customization through data attributes in the script tag [(2) ]() :
Copy code
html
<script
 id="retell-widget"
 src="<https://dashboard.retellai.com/retell-widget.js%22>
 type="module"
 data-public-key="YOUR_RETELL_PUBLIC_KEY"
 data-agent-id="YOUR_RETELL_CHAT_AGENT_ID"
 data-agent-version="YOUR_RETELL_CHAT_AGENT_VERSION"
 data-title="YOUR_CUSTOM_TITLE"
 data-logo-url="YOUR_LOGO_URL"
 data-color="YOUR_CUSTOM_COLOR"
></script>
However, the documentation doesn't specify data attributes for controlling the chat window dimensions (height/width) . The available customization options are limited to title, logo, and color [(2) ]() [(3) ]() . For more specific configuration options regarding agent-first initiation and window sizing, I'd recommend checking the most recent documentation or contacting support, as these features may require additional configuration not covered in the current documentation.
​ To learn more, see the sources I considered: [[1] Chat Widget Make AI speak First](https://discord.com/channels/1186424376300679209/1387927514415890602) [[2] Retell Chat Widget](https://docs.retellai.com/deploy/chat-widget) [[3] Chat Widget Questions](https://discord.com/channels/1186424376300679209/1398310163122749510) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.