Skip to content

Commit 82c1a7e

Browse files
committed
Add model verification with test requests and improve voice input handling
1 parent ca9068c commit 82c1a7e

4 files changed

Lines changed: 306 additions & 92 deletions

File tree

‎apps/editor/src/views/panel/backend/message-handlers/handle-voice-input.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const start_recording = (panel_provider: PanelProvider) => {
1616
panel_provider.audio_chunks = []
1717
try {
1818
panel_provider.recording_process = spawn('rec', ['-q', '-t', 'wav', '-'])
19-
2019
panel_provider.recording_process.stdout.on('data', (chunk: Buffer) => {
2120
panel_provider.audio_chunks.push(chunk)
2221
})
@@ -109,7 +108,7 @@ const stop_recording = async (panel_provider: PanelProvider) => {
109108
content: [
110109
{
111110
type: 'text',
112-
text: 'Transcribe this audio'
111+
text: 'Transcribe this audio.'
113112
},
114113
{
115114
type: 'input_audio',

0 commit comments

Comments
 (0)