Hi, I noticed that since I upgraded to gemini 2.5 flash (gemini-2.5-flash) I sometimes get these errors that I didn't have before with gemini 2.0, do you have any idea what it could be?
The GenerateContentResponse::parts() quick accessor only works for a single candidate,but none were returned. Check the GenerateContentResponse::$promptFeedback to see if the prompt was blocked.
The GenerateContentResponse::text() quick accessor only works when the response contains a valid Part, but none was returned. Check the candidate.safety_ratings to see if the response was blocked.