Skip to content

feat: add streaming for 4o-transcribe#112

Closed
gabrielste1n wants to merge 5 commits intomainfrom
streaming-text
Closed

feat: add streaming for 4o-transcribe#112
gabrielste1n wants to merge 5 commits intomainfrom
streaming-text

Conversation

@gabrielste1n
Copy link
Copy Markdown
Collaborator

Summary

  • Adds real-time streaming transcript display while audio is being processed via OpenAI's streaming API
  • New onPartialTranscript callback in AudioManager emits text as transcript.text.delta and transcript.text.segment events arrive
  • Transcript bubble appears above the dictation button during processing, auto-clears on completion/error

Changes

  • audioManager.js: Extended setCallbacks to accept onPartialTranscript, invoke it during stream parsing
  • useAudioRecording.js: New partialTranscript state with proper lifecycle cleanup

@gabrielste1n gabrielste1n deleted the streaming-text branch February 25, 2026 05:00
@gabrielste1n gabrielste1n restored the streaming-text branch February 25, 2026 05:02
@gabrielste1n gabrielste1n deleted the streaming-text branch March 11, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant