Hi all, we have been using gpt-realtime + 11labs T...
# agents
b
Hi all, we have been using gpt-realtime + 11labs TTS and it's been working great. Yesterday I switched to gpt-realtime-mini + 11labs TTS, occasionally the agent starts speaking out the JSON as you can see in below transcript. Is this a known issue? Has anyone else gotten gpt-realtime-mini + TTS working? Can we fix this somehow?
Copy code
{
  "items": [
    {
      "id": "item_CQzOYrpkRsd63djF2urr0",
      "role": "user",
      "type": "message",
      "content": [
        "Well, that's okay, it always happens."
      ],
      "interrupted": false
    },
    {
      "id": "item_CQzOcpivldn6PvTrQwP7F",
      "role": "assistant",
      "type": "message",
      "content": [
        "{\"Speaking\":\"Absolutely, Willow! It's okay when things feel a bit off sometimes. We can stand together and be brave—just like a team of knights! How about we chat about something fun, or would you like to play a game together?\"}"
      ],
      "interrupted": false
    },
    {
      "id": "item_CQzQ5gqXceNcJuwNUY3RW",
      "role": "assistant",
      "type": "message",
      "content": [
        "{\"Speaking\":\"I'm sorry you're feeling that way, Willow. It's tough when someone is not kind, but you have every right to let them know how you feel. Would you like to talk about how you might tell them, or would you like to do something fun together to help lift your spirits?\"}"
      ],
      "interrupted": false
    },
    {
      "id": "item_CQzQUljn6G0fJKhHDHqx9",
      "role": "user",
      "type": "message",
      "content": [
        "Well, she was not my school."
      ],
      "interrupted": false
    },
    {
      "id": "item_CQzQW3mZSWmKhwGn2oJm0",
      "role": "assistant",
      "type": "message",
      "content": [
        "{\"Speaking\":\"Got it, Willow. It can still feel tough when someone isn't nice, even if they're not at your school. Would you like to share more about what happened, or should we try something fun together to help us feel better?\"}"
      ],
      "interrupted": false
    }
  ]
}
I guess it's coming from the system prompt... Will try adding important rules to speak naturally.