-
Notifications
You must be signed in to change notification settings - Fork 633
Text-only mode gives only empty responses #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To solve this, in src/app/hooks/useHandleServerEvent.ts, I changed:
to
Not sure if it's the best way to do this, but it works. |
I found a way to resolve it. You can fix the problem by replacing: case "response.audio_transcript.delta": with: case "response.text.delta": in |
I provided a better and flexible approach in the PR below. Let me know your thoughts: Branch: https://github.com/AbrahamNobleOX/openai-realtime-agents/tree/enabling-text-only PR: #33 |
@AbrahamNobleOX |
@paix26875 You can also consider using https://github.com/outspeed-ai/voice-devtools |
To reproduce:
Result:
The responses I get from the server are empty - just the timestamp:

Works fine with audio added to in modalities, both in text and audio.
Is there some extra bit of configuration that I need to do to make it work in a text-only mode?
The text was updated successfully, but these errors were encountered: