#While this isn't bad, a better action
1 messages · Page 1 of 1 (latest)
Yup, many different ways and some better than others. For quick debugging, I just like printing out response.candidate since that includes both finish_reason and prompt_feedback in one 🙂 . But, if I were to be writing error handling and such then I would likely use response.finish_reason and handle that in code vs just printing out. We're all learning and improving as we go.
Yup! Agreed totoally on your debugging approach.