Discovery API:aiplatform.v1beta1
Breaking Change
Docs

Vertex AI: Session Compaction and Transcription Refactor

Modified API Methods (1):

A new compact method has been added to Reasoning Engine sessions (projects.locations.reasoningEngines.sessions.compact). This allows developers to manage context window limits by applying a 'stackable pipeline' of rules to session history, including LLM-based summarization, tool-response truncation, and 'thought stripping.' In transcription news, languageHints and languageAuto are being deprecated or removed across GenaiVertexV1beta1TranscriptionConfig and GoogleCloudAiplatformV1beta1AudioTranscriptionConfig in favor of a unified languageCodes array. Additionally, GenaiVertexV1beta1EnvironmentConfig has moved from camelCase to snake_case for network_allowlist and network_mode fields.

Breaking Change: The trafficType enum used in UsageMetadata has changed its 5th value (index 4) from PROVISIONED_THROUGHPUT to ON_DEMAND_OFFPEAK. Developers relying on this specific enum value for billing or monitoring logic should update their code immediately.