Repository navigation
Comparing changes
Open a pull request
base repository: googleapis/go-genai
base: v1.76.0
head repository: googleapis/go-genai
compare: v1.77.0
- 9 commits
- 26 files changed
- 5 contributors
Commits on Oct 23, 2026
-
chore: update Speakeasy OpenAPI generator to v2.950.11 and bump CLI t…
…o v0.4.4 Sync `third_party/golang/github_com/speakeasy_api/openapi_generation/v/v2` to `https://github.com/speakeasy-api/openapi-generation@d5e7284` (`v2.950.11`), bump the CLI version to `0.4.4`, and regenerate all SDKs (Python, TypeScript, Java, Go, Dotnet, and CLI). PiperOrigin-RevId: 1005667789
Configuration menu - View commit details
-
Copy full SHA for 9ba857f - Browse repository at this point
Copy the full SHA 9ba857fView commit details
Commits on Oct 27, 2026
-
feat: Add support for continuation_token and requires_continuation st…
…atus PiperOrigin-RevId: 1008345991
Configuration menu - View commit details
-
Copy full SHA for 51d761f - Browse repository at this point
Copy the full SHA 51d761fView commit details -
chore(cli): update Speakeasy OpenAPI generator to v2.952.4
Sync `third_party/golang/github_com/speakeasy_api/openapi_generation/v/v2` to `https://github.com/speakeasy-api/openapi-generation@28fa06b` (`v2.952.4`) and regenerate all SDKs (Python, TypeScript, Java, Go, Dotnet, and CLI). PiperOrigin-RevId: 1008475077
Configuration menu - View commit details
-
Copy full SHA for d386bce - Browse repository at this point
Copy the full SHA d386bceView commit details
Commits on Oct 28, 2026
-
feat(interactions): declare continuation_ids on Interaction
Declare continuation_ids (continuationIds / ContinuationIds) on the Interaction model across the Interactions SDKs so callers receive None / null / nil / undefined when automatic continuation is not active instead of missing-attribute errors, with full static type-checking support. PiperOrigin-RevId: 1008986075
Configuration menu - View commit details
-
Copy full SHA for 5b54979 - Browse repository at this point
Copy the full SHA 5b54979View commit details -
feat: support video understanding in Gemini Developer API
PiperOrigin-RevId: 1009083457
Configuration menu - View commit details
-
Copy full SHA for 5407437 - Browse repository at this point
Copy the full SHA 5407437View commit details -
fix(interactions): align SDK User-Agent and x-goog-api-client headers
Replace the generator's default User-Agent with the parent SDK's `google-genai-sdk/<version> gl-<lang>/<version>` header across all languages while preserving caller-supplied User-Agent overrides. PiperOrigin-RevId: 1009148467
Configuration menu - View commit details
-
Copy full SHA for 58187ad - Browse repository at this point
Copy the full SHA 58187adView commit details
Commits on Oct 29, 2026
-
feat(interactions): add AutomaticContinuation to Interactions.Create …
…in the Go SDK Foreground `Interactions.Create()` calls are capped per request by the server (32k output tokens unary, 64k streaming) and stop with `status="requires_continuation"` plus a `continuation_token`. `Interactions.Create` now enables automatic continuation by default (configurable per call via `operations.WithAutomaticContinuation(bool)`) and chains continuation hops client-side so a plain `Create()` returns the full decode. Request chaining: - Each hop after the first sends the `continuation_token` from the previous hop. With `Store` enabled (default) it sets `PreviousInteractionID` to the hop that issued the token and omits `Input`; with `Store=false` it resends the original `Input`. - Unary foreground model calls default `GenerationConfig.MaxOutputTokens` to 65536 (`DefaultAutomaticContinuationMaxOutputTokens`) when unset without mutating caller structs (streaming uses the server's 64k default). Explicit values are never overridden. - Stops on `completed`, `incomplete` (token preserved for manual resumption), `requires_action`, `failed`, `cancelled`, a missing token, or a repeated token. Skipped for agent requests and `Background=true`; `Background=true` with `operations.WithAutomaticContinuation(false)` returns `ErrAutomaticContinuationWithBackground`. Unary (`Stream=false`) merging: - Hops are merged into one `Interaction`: `Steps` concatenated in hop order (leading `user_input` steps dropped on later hops), `Usage` counts and per-modality breakdowns summed across hops with `Usage.InitialInputTokens` taken from hop 1, `ID` / `Status` / `ContinuationToken` / `Updated` from the final hop, and `PreviousInteractionID` / `Created` / `Input` from hop 1. - `ContinuationIDs` lists every hop id in order, de-duplicated with any server-provided ids. Derived output properties (`OutputText`, etc.) are recomputed across hop boundaries. Streaming (`Stream=true`): - Events from all hops are yielded verbatim on `stream.EventStream[InteractionSSEEvent]`. Consumers should treat `interaction.completed` with `status="requires_continuation"` as intermediate. - Mid-hop transport drops or premature EOF resume from the latest `interaction.status_update` checkpoint token when no content was yielded since that checkpoint (up to `MaxStreamReconnectsWithoutProgress = 3` reconnects). SSE `error` events are terminal; HTTP status retries stay with SDK retry options. Timeouts and errors: - The `ctx` deadline/cancellation passed to `Create(ctx, ...)` bounds the whole call across hops, while `operations.WithOperationTimeout`, `WithTimeout`, and retry configs apply per hop. - A failure or `ctx` expiry after progress returns `*apierrors.ContinuationInterruptedError` (`Unwrap()` returning `Cause`) carrying `PartialInteraction`, `ContinuationToken`, `InteractionID`, and `ContinuationIDs` so billed work is preserved for manual resumption. First-hop failures return unchanged. Opt-out: - `operations.WithAutomaticContinuation(false)` returns the single server response untouched (no budget injection, no merging) and logs a one-time warning if it stops at `requires_continuation` without a caller-supplied `continuation_token`. Tests: `interactions/continuation_conformance_test.go` (52 conformance cases) and `interactions/continuation_test.go` (ctx deadline/cancellation, per-hop timeout, stream close, non-mutation, and option validation). PiperOrigin-RevId: 1009385691
Configuration menu - View commit details
-
Copy full SHA for 0a6da26 - Browse repository at this point
Copy the full SHA 0a6da26View commit details -
feat: add video upscale task parameter
PiperOrigin-RevId: 1009408638
Configuration menu - View commit details
-
Copy full SHA for cab8bf7 - Browse repository at this point
Copy the full SHA cab8bf7View commit details -
chore(main): release 1.77.0 (#1027)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1a33369 - Browse repository at this point
Copy the full SHA 1a33369View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.76.0...v1.77.0