Skip to content

Commit

Permalink
realtime fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nbonamy committed Dec 19, 2024
1 parent 1ac3a6a commit 8cbffde
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/screens/RealtimeChat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,11 @@ const sessionTotals: Ref<Stats> = ref({
}
})
const kWelcomeMessage = 'Click the blob to start chatting'
const model: Ref<string> = ref(store.config.engines.openai.realtime.model || 'davinci')
const voice: Ref<RealtimeVoice> = ref(store.config.engines.openai.realtime.voice || 'ash')
const status = ref('Click the blob to start chatting')
const status = ref(kWelcomeMessage)
const state: Ref<'idle'|'active'> = ref('idle')
const lastWords: Ref<string[]> = ref(['bon', 'jour', ' nicolas'])
Expand Down Expand Up @@ -297,6 +299,7 @@ const stopSession = () => {
}
// done
status.value = kWelcomeMessage
state.value = 'idle'
}
Expand Down

0 comments on commit 8cbffde

Please sign in to comment.