You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem frequently occurs when using Python 3.10 to call google-genai version 1.38.0. The image file encoding uses the following method
with open(image_path, 'rb') as image_file:
return base64.b64encode(image_file.read()).decode('utf-8')
Description of the bug:
This problem frequently occurs when using Python 3.10 to call google-genai version 1.38.0. The image file encoding uses the following method
with open(image_path, 'rb') as image_file:
return base64.b64encode(image_file.read()).decode('utf-8')
error_info.txt
The above files are specific return information
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response