Hello, I am using RealtimeModel gemini-live-2.5-fl...
# agents
a
Hello, I am using RealtimeModel gemini-live-2.5-flash-preview, and I want to add to its chat context but when I do that with role =
'assistant'
or
'system'
i get this :
Copy code
websockets.exceptions.ConnectionClosedError: received 1007 (invalid frame payload data) Request contains an invalid argument.; then sent 1007 (invalid frame payload data) Request contains an invalid argument.
only when role =
'user'
it works fine, ideally I'd want role = 'tool' but it says
Copy code
Input should be 'developer', 'system', 'user' or 'assistant'