Repository navigation
Releases
Releases · googleapis/go-genai
v1.77.0
1.77.0 (2026-10-29)
Features
- Add support for continuation_token and requires_continuation status (51d761f)
- add video upscale task parameter (cab8bf7)
- interactions: add AutomaticContinuation to Interactions.Create in the Go SDK (0a6da26)
- interactions: declare continuation_ids on Interaction (5b54979)
- support video understanding in Gemini Developer API (5407437)
Bug Fixes
- interactions: align SDK User-Agent and x-goog-api-client headers (58187ad)
v1.76.0
1.76.0 (2026-10-22)
Features
- Add
storetoGenerateContentConfig(Gemini Developer API only) andlabelstoLiveConnectConfig. (2ca47f8) - add base_voice to PromptedVoice in GAOS SDK (bfc9e1c)
- Add generation_output_config to GenerateContentConfig (6ae1299)
- Add Live API in-session context updates (
send_context_update) and types across GenAI SDKs. (f1d0c6c) - include AudioContent, DocumentContent, and VideoContent in FunctionResultSubContent (68f1351)
- interactions: populate output_text and output media helpers in the Go SDK (db2b842)
- sdks: enable
fixes.openSingleValueEnumsOct2026across all SDKs (3892a92) - update discovery doc (525f275)
Bug Fixes
- genai: raise mid-stream SSE errors and dropped connections consistently across SDKs; add continuation conformance tests (9aa2634)
- interactions: sync InteractionSseEventInteractionStatus enum with InteractionStatus (7c129ed)
- keep streamed chat turns in curated history when the stream ends with an empty chunk (4dd02c1), refs #795
v1.75.0
1.75.0 (2026-10-14)
Features
- interactions: add gemini-4-argon to Model enum (f8f7050)
Bug Fixes
- clear continuation state and preserve prompt feedback when continuation hop returns no candidates (f0c1430)
- fix the grounding metadata merging for automatic continuation in generate content and generate content stream (19689a2)
- make continuation streams retry dropped hops, stop on prompt_feedback, and keep real errors in generate_content (0828ad4)
v1.74.0
1.74.0 (2026-10-13)
Features
- accumulate streaming continuation usage metadata and expose InitialPromptTokenCount (67c96f3)
- Add
continuation_tokento the Interactionsinteraction.status_updateevent. (397c14f) - Add a CONTINUATION_REQUIRED Interaction status (125cd3e)
- add billable token counts fields (43c5132)
- Add startOffset/endOffset to Transcription and interimTranscriptTimestampEnabled to RealtimeInputConfig (3db3beb)
- Add usage in InteractionStatusUpdate events (ba9bb94)
- cli: update Speakeasy generator to v2.948.0, bump CLI to v0.4.2, and apply CLI overlay fixes (f660ee9)
- Support automatic continuation (long decoding) (1f7179b)
Bug Fixes
- clear intermediate CONTINUATION FinishReason in streaming continuation (2c08efa)
- genai: deduplicate Flash and Omni descriptions in ModelOption (1957e9c)
- Raise default HTTP timeouts so long-running requests aren't killed client-side (2e7f4aa)
- resume streaming generation from the latest checkpoint continuation token on mid-stream errors or cutoffs (3e51164)
- Update EnvironmentConfig.env schema to map keys to EnvVar or string. (b84d964)
v1.73.0
1.73.0 (2026-10-07)
Features
- add
lyria-3.5,gemini-omni-1.1-flash, andgemini-omni-flash-previewto InteractionsModelenum (0a17bc3) - go: expose Voices service on genai.Client and add Voices examples (770093f)
- Support
"allowlist": "disabled"in environment network config. (3a7595e) - support continuation_token in Interactions (5fed937)
- update discovery doc (aeef05c)
Bug Fixes
- gemini-api-cli: remove unsupported 2.5 and 1.6 models from Interactions model options and CLI examples (b1c58b2)
v1.72.0
1.72.0 (2026-10-01)
Features
- add gcs_metrics_uri for exporting tuning job metrics. (a2adbb5)
- Add interactions (b85860b)
- expose SpeechMetadata, VoiceConfig.voice, and SpeechAnnotation in public GenAI SDKs (c342626)
- genai: refresh examples and add build tests for Go SDK examples (a8402d6)
- implement environments files upload and download across .NET and Go SDKs (ee76a1c)
- include labels for LiveClientSetup (69b3fa3)
- support continuation_token in GenerateContent (3ecb7eb)
- support labels for Gemini API GenerateContent (bf539c0)
- update discovery doc (702e8d0)
Bug Fixes
v1.71.0
v1.70.0
v1.69.0
1.69.0 (2026-08-19)
Features
- Add
modeenum (VERBATIM,SMART) toAudioTranscriptionConfigandTranscriptionConfig. (5ca93e0) - Add enable_data_retention to ToolParallelAiSearch, Add step_count to ReinforcementTuningHyperParameters, Add BidiGenerateContentSetup (600a8cf)
- Add IDLE state to live connection status enum and mark REQUIRES_ACTION as deprecated. (2bbd248)