Unclear finish_reason #363
Labels
component:other
Questions unrelated to SDK
status:awaiting user response
Awaiting a response from the author
status:stale
Issue/PR will be closed automatically if there's no further activity
type:bug
Something isn't working
Description of the bug:
I'm just asking to summarize a high school textbook which I'm feeding as images, was working perfectly fine on Friday, getting the following error today:
I don't understand what finish_reason
4
means, it's not given here: https://ai.google.dev/api/rest/v1/GenerateContentResponseActual vs expected behavior:
Actual:
"finish_reason": 4
Expected: `"finish_reason": [Should be one of https://ai.google.dev/api/rest/v1/GenerateContentResponse#finishreason]
Any other information you'd like to share?
SDK version: 0.5.4
The text was updated successfully, but these errors were encountered: