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