Skip to content

Commit d004cf6

Browse files
committed
Update README.md
1 parent 68da5ff commit d004cf6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)