mirror of
https://github.com/run-llama/openai_realtime_client.git
synced 2026-07-01 21:04:00 -04:00
[PR #6] [MERGED] feat: enable real-time transcript rendering #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/openai_realtime_client/pull/6
Author: @chc-tw
Created: 10/25/2024
Status: ✅ Merged
Merged: 11/12/2024
Merged by: @logan-markewich
Base:
main← Head:main📝 Commits (1)
33c7a08feat: enable real-time transcript rendering📊 Changes
2 files changed (+44 additions, -1 deletions)
View changed files
📝
examples/manual_cli.py(+2 -0)📝
openai_realtime_client/client/realtime_client.py(+42 -1)📄 Description
This PR adds three event message handlers to realtime-client.py to handle incoming transcript-related messages efficiently:
the transcript will be printed as the audio plays in real-time by running the display function in a separate thread to ensure non-blocking I/O.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.