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
Add IMAGE_SAFTY enum value to FinishReason (3a65fb0)
Add MediaModalities for ModalityTokenCount (fb2509c)
Add Veo 2 generate_videos support in Go SDK (55b2923)
Allow title property to be sent to Gemini API. Gemini API now supports the title property, so it's ok to pass this onto both Vertex and Gemini API. (f2f92a7)
chats: Allow user to create chat session with list of ContentDict (43c5379), closes #467
Move set event loop into try except logic when setting auth lock (d04b6a6)
Save prompt safety attributes in dedicated field for generate_images (e5bbb0e)
Set event loop before asyncio.Lock() to ensure threading safety (be2d9c6)
Surface complete error details from backend (38f5beb)
chats: Raise error when types.Content is passed to send_message() to correctly adhere to type annotation. To migrate code previously passing content = types.Content(...) to send_message(), pass content.parts instead.(7fb2c7e)
Documentation
Log warning to users that Part.from_video_metadata will be deprecated. (2d12f54)