finish_reason=<FinishReason.STOP: 'STOP'> ...
# ask-ai
g
finish_reason=<FinishReason.STOP: 'STOP'> candidates=[Candidate(content=Content(role='model'), finish_reason=<FinishReason.STOP: 'STOP'>, index=0) i something get this response from gemini 2.5 flash why ?
t
Thanks for reaching out, Vrishabh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
g
I'm experiencing an issue with Google Gemini 2.5-flash integration where my agent stops responding during conversations. Issue Details: - Using LiveKit agents v1.2.3 with
google.LLM(model="gemini-2.5-flash")
- Getting this warning:
WARNING livekit.plugins.google - no candidates in the response
- After this warning, the agent goes silent and won't respond unless the user speaks again - Happens intermittently during normal conversations What I see in logs: candidates=[Candidate( content=Content(role='model'), finish_reason=<FinishReason.STOP: 'STOP'>, index=0 )] The model returns
finish_reason=STOP
but with empty content.