You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: example/src/App.tsx
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ import VapiConfigurationSection from './components/builder/VapiConfigurationSect
18
18
19
19
functionApp(){
20
20
const[config,setConfig]=useState<WidgetConfig>({
21
-
mode: 'voice',
21
+
mode: 'chat',
22
22
theme: 'light',
23
23
// Default colors matching VapiWidget defaults
24
24
baseColor: '#ffffff',// Light mode default (automatically switches to #000000 in dark mode)
@@ -35,7 +35,8 @@ function App() {
35
35
termsContent:
36
36
'By clicking "Agree," and each time I interact with this AI agent, I consent to the recording, storage, and sharing of my communications with third-party service providers, and as otherwise described in our Terms of Service.',
37
37
localStorageKey: 'vapi_widget_consent',
38
-
showTranscript: true,
38
+
showTranscript: false,
39
+
firstChatMessage: 'Hey, How can I help you today?',
emptyChatMessage ='Type a message to start chatting',
41
41
emptyHybridMessage ='Use voice or text to communicate',
42
+
firstChatMessage,
42
43
requireConsent =false,
43
44
termsContent ='By clicking "Agree," and each time I interact with this AI agent, I consent to the recording, storage, and sharing of my communications with third-party service providers, and as otherwise described in our Terms of Service.',
0 commit comments