Environments files can now be uploaded and downloaded across the Python and TypeScript SDKs, and HttpOptions supports a custom fetch implementation. Also adds a credentials API resource and RetrievalCallStep and RetrievalResultStep to the interactions schema.
js-genai
npx @buildinternet/releases get js-genaiAdded from_environment support for environment copying. Fixed declaration files by adding @ts-ignore before optional MCP imports, removed an unused field from FunctionResultDelta, and repaired the node fallback manifest and web entries.
The Google Gemini SDK adds support for Gemini 3.8 Flash and updates Flash model descriptions.
Video Understanding support lands in the Interactions API, alongside audio/webm MIME type support and translation_config for GEAP. Also fixed redundant Content-Length headers on file uploads and exposed ProcessingCallStep and ProcessingResultStep in the Interactions SDK.
Model parsing is roughly 2x faster by keeping the Buffer in the Node tokenizer platform. Added AudioTranscriptionConfigMode, environment files support with a scotty file download helper, and TYPE_JPEG2000 to the VideoContent MimeType enum.
The Gemini SDK now supports VERBATIM and SMART modes for audio transcription configs, plus an IDLE state on live connections with REQUIRES_ACTION deprecated. Also adds video resolution/extension task parameters, tool data retention, and a step_count for reinforcement tuning hyperparameters.
Deferred service tier is now publicly available on Vertex, and LiveServerContent gains an interaction_status field. speech_config is now a structured object.
Adds the Gemini Robotics ER 2 Preview model and a new TOO_MANY_TOOL_CALLS FinishReason value. HttpOptions.timeout now acts as a per-attempt deadline, and the Interaction resource gains a top-level errors array.
Adds a new environment resource, Google Maps tool grounding with places and routing types, and per-request retryOptions in the API client.
GenerateContentConfig now supports audio_transcription_config and audio transcription in parts, with a flat language_codes field on AudioTranscriptionConfig. Deprecation warnings added for Imagen generate_images, edit_images, and generate_videos using prompt/text/image args, and for LiveConnectConfig.GenerationConfig — all to be removed in the next major version.
Adds a model selector, a custom_vocabulary field for the Live API, a queued status for interaction requests, and makes ASR fields public in v1main and Interactions.
Adds the Triggers resource for workflow automation, a history configuration API, and AntigravityAgentConfig for headless object detection. Also includes per-modality prompt token counts in gemini-embedding-2 embedding responses and support for preserving custom headers in GAOS.
Network config now includes environment_id, and GenerationConfig supports response_format and translation_config. Added Tool.exa_ai_search for Gemini Enterprise API, retrieval result steps, and support for function declarations during agent creation. Fixed interactions to accept both dict and list[dict] for transform, and removed cached_content, presence_penalty, and frequency_penalty from interactions while exposing safety_settings and labels.
Adds video generation and response format parameters, ComputerUse.disabled_safety_policies to both Interactions and Models, and usage fields for steps.
Computer Use API fields are now exposed, and audio transcription configuration gains LanguageAuto, LanguageHints, and adaptationPhrases options. VoiceActivity now includes audioOffset, LiveServerContent includes interimInputTranscription, UsageMetadata includes ServiceTier, and the interaction API adds presence_penalty, frequency_penalty, and cached_content parameters plus renames usage to total_usage in StreamMetadata.
Computer Use API fields are now exposed, and the usage field in StreamMetadata has been renamed to total_usage. Also adds ServiceTier to UsageMetadata, new interaction API fields (CodeMenderAgentConfig, presence/frequency penalty, cached content, model field), and introduces GAOS SDK libs.
Agent Platform MCP support is now available in async generate_content, and reinforcement tuning is supported in the GenAI SDK including a ValidateReward API method. Also added transcription language code and TranslationConfig for live translation.
Added Skill Registry ListSkills and DeleteSkill operations to the SDK, and Reinforcement Tuning support. The Interaction API now accepts text/csv as a supported document mime type and enables BigQuery tool in Deep Research config, and computer_use field support is expanded for Vertex.
Added enable_prompt_injection_detection configuration for the Computer Use feature, and the gemini-3.5-flash model is now available. Also added budget_exceeded status and new fields to the API.

