File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ The simplest way to add the widget to your website:
100100| ` chatPlaceholder ` | ` string ` | ` 'Type your message...' ` | Chat input placeholder text |
101101| ** Voice Configuration** | | | |
102102| ` voiceShowTranscript ` | ` boolean ` | ` false ` | Show/hide voice transcript |
103+ | ` voiceAutoReconnect ` | ` boolean ` | ` false ` | Auto-reconnect to an active web call within the same browser tab (uses session storage) |
104+ | ` reconnectStorageKey ` | ` string ` | ` 'vapi_widget_web_call' ` | Key for storing reconnection data (uses session storage) |
103105| ** Consent Configuration** | | | |
104106| ` consentRequired ` | ` boolean ` | ` false ` | Show consent form before first use |
105107| ` consentTitle ` | ` string ` | ` "Terms and conditions" ` | Consent form title |
@@ -275,6 +277,16 @@ Use this approach if your environment doesn't support custom elements or for bet
275277/>
276278```
277279
280+ ### Voice-Only with Auto-Reconnect
281+
282+ ``` tsx
283+ <VapiWidget
284+ publicKey = " pk_123"
285+ assistantId = " asst_456"
286+ mode = " voice"
287+ voiceAutoReconnect = { true }
288+ />
289+
278290## Development
279291
280292### Setup
You can’t perform that action at this time.
0 commit comments