New Live API Features Don't Work through the API (Proactive audio and Affective dialong)

Well, When you try and use the new features such as Affective dialog or Proactive audio on the new models, You get returned with a 1007 Error code which has the messages

websockets.exceptions.ConnectionClosedError: received 1007 (invalid frame payload data) Invalid JSON payload received. Unknown name "proactivity" at 'setup': Cannot find field.; then sent 1007 (invalid frame payload data) Invalid JSON payload received. Unknown name "proactivity" at 'setup': Cannot find field.

for Proactive Audio
and

websockets.exceptions.ConnectionClosedError: received 1007 (invalid frame payload data) Invalid JSON payload received. Unknown name "enableAffectiveDialog" at 'setup.generation_config': Cannot find field.; then sent 1007 (invalid frame payload data) Invalid JSON payload received. Unknown name "enableAffectiveDialog" at 'setup.generation_config': Cannot find field.

for the Affective dialog, i’m Using the latest python package for GenAI, Not sure if the features just arent out yet or they are just broken, Heres where i found the info for it

2 Likes

Facing the same issue for both enable_affective_dialog and proactivity parameters

websockets.exceptions.ConnectionClosedError: received 1007 (invalid frame payload data) Invalid JSON payload received. Unknown name “enableAffectiveDialog” at ‘setup.generation_config’: Cannot find field.; then sent 1007 (invalid frame payload data) Invalid JSON payload received. Unknown name “enableAffectiveDialog” at ‘setup.generation_config’: Cannot find field.