pypi google-genai 2.30.0
v2.30.0

3 hours ago

2.30.0 (2026-10-13)

Features

  • Accumulate streaming continuation usage metadata and expose initial_prompt_token_count (b27f3cd)
  • Add continuation_token to the Interactions interaction.status_update event. (02db4c5)
  • Add a CONTINUATION_REQUIRED Interaction status (bf9d6d7)
  • Add billable token counts fields (6a6501c)
  • Add startOffset/endOffset to Transcription and interimTranscriptTimestampEnabled to RealtimeInputConfig (c644a94)
  • Add usage in InteractionStatusUpdate events (56c3a1a)
  • Allow automatic resumption of continuation token for in generate content and generate content stream. Default behavior for this feature is disabled (83e43ea)
  • cli: Update Speakeasy generator to v2.948.0, bump CLI to v0.4.2, and apply CLI overlay fixes (cdcd3dd)
  • Enable automatic continuation token resumption for chats module. (9ebf714)

Bug Fixes

  • Clear intermediate CONTINUATION finish_reason in streaming continuation (8a641d8)
  • Do not record incomplete continuation stream turns in curated chat history (b382e01)
  • gemini-api-cli: Remove unsupported 2.5 and 1.6 models from Interactions model options and CLI examples (fe5fb10)
  • genai: Deduplicate Flash and Omni descriptions in ModelOption (33efaad)
  • interactions: Restore super().model_construct in Interaction model validator (ccd5dd3)
  • python: Discard stale checkpoint token on non-resumable finish reason (f44e8ee)
  • Raise default HTTP timeouts so long-running requests aren't killed client-side (b006b4b)
  • Resume streaming generation from the latest checkpoint continuation token on mid-stream errors or cutoffs (90bb32b)
  • Update EnvironmentConfig.env schema to map keys to EnvVar or string. (3108d8c)
  • Use the mTLS endpoint on the httpx and websocket transports (97d5821)

Don't miss a new google-genai release

NewReleases is sending notifications on new releases.