openai / openai-realtime-api-beta

Node.js + JavaScript reference client for the Realtime API (beta)
MIT License
651 stars 150 forks source link

Prompt is not always properly set after client is connected #66

Closed emorling closed 2 days ago

emorling commented 2 days ago

If you do this:

  1. Set instructions with updateSession. Include instruction "Your name is John"
  2. Then connect the client
  3. Then programmatically send a user message "What is your name?"

Then every now and then it will respond "My name is ChatGPT".

Seems like this issue is on openAI side.

emorling commented 2 days ago

Issue was on my end. Them models listed here, are not all available, causing this.

https://platform.openai.com/docs/guides/text-to-speech