google-gemini / google-gemini/live-api-web-console
`turnComplete: false` in ClientContentMessage prevents later response to RealtimeInputMessages
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 731
- PR merge metrics
- No merged PRs in 30d
Description
### Description of the bug:
I want to send contextual text data using the `ClientContentMessage` to the API while being connected and talking to the model using `RealtimeInputMessage`s but the API should not generate a response to the context data so I set `turnComplete`to `false`.
After sending the `ClientContentMessage` with the text data, I get no response, as expected, but further `RealtimeInputMessage`s that are recorded and logged also do not trigger a response anymore, even If I want to continue the voice conversation.
### Actual vs expected behavior:
Actual behaviour: `RealtimeInputMessage` after the `ClientContentMessage` with `turnComplete` set to `false`**does not** trigger API response.
Expected Behaviour: `RealtimeInputMessage` after the `ClientContentMessage` with `turnComplete` set to `false`**does** trigger API response.
### Any other information you'd like to share?
I could not find any mention of this dynamic in the documentation or forums.
Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.