Repository navigation
Comparing changes
Open a pull request
base repository: googleapis/java-genai
base: v1.79.0
head repository: googleapis/java-genai
compare: v1.80.0
- 10 commits
- 36 files changed
- 5 contributors
Commits on Oct 23, 2026
-
chore(main): release 1.80.0-SNAPSHOT (#1349)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a28b875 - Browse repository at this point
Copy the full SHA a28b875View commit details -
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 de41371 - Browse repository at this point
Copy the full SHA de41371View 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 79097b6 - Browse repository at this point
Copy the full SHA 79097b6View 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 cb44af3 - Browse repository at this point
Copy the full SHA cb44af3View 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 9695964 - Browse repository at this point
Copy the full SHA 9695964View commit details -
feat: support video understanding in Gemini Developer API
PiperOrigin-RevId: 1009083457
Configuration menu - View commit details
-
Copy full SHA for c6b8380 - Browse repository at this point
Copy the full SHA c6b8380View 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 5a1389f - Browse repository at this point
Copy the full SHA 5a1389fView commit details
Commits on Oct 29, 2026
-
feat(interactions): add automaticContinuation to Interactions.create …
…in the Java 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`, `AsyncInteractions.create`, `CreateInteractionRequest`, and `CreateInteractionRequestBuilder` now support `automaticContinuation` (default `true`) and chain 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 `previous_interaction_id` to the hop that issued the token and omits `input`; with `store=false` it resends the original `input`. - Unary foreground model calls default `generation_config.max_output_tokens` to 65536 when unset without mutating caller request objects (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 `CreateAgentInteraction` requests and `background=true`; `background=true` with `automaticContinuation=false` throws `IllegalArgumentException`. 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. Output convenience helpers (`outputText`, etc.) are recomputed across hop boundaries. Streaming (`stream=true`): - Events from all hops are yielded verbatim via `ContinuationEventStream` (sync and async). Consumers should treat `interaction.completed` with `status="requires_continuation"` as intermediate. - Mid-hop transport drops (`IOException` / `UncheckedIOException`) or premature EOF resume from the latest `interaction.status_update` checkpoint token when no content was yielded since that checkpoint (up to 3 no-progress reconnects). SSE `error` events are terminal; HTTP status retries stay with `RetryConfig`. Timeouts and errors: - Per-call `timeout(Duration)` on `CreateInteractionRequest` / builders bounds the whole `create()` call across hops via `CallDeadline`, while client-level `HttpOptions.timeout` and `RetryConfig` apply per hop. - A failure or timeout after progress throws `ContinuationInterruptedException` (`getCause()` chained) carrying `partialInteraction()`, `continuationToken()`, `interactionId()`, and `continuationIds()` so billed work is preserved for manual resumption. First-hop failures propagate unchanged. Opt-out: - `automaticContinuation=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: `InteractionContinuationConformanceTest` (52 sync + 28 async streaming conformance cases) and `InteractionContinuationTest` (whole-call timeout, builder immutability, and warning tests). PiperOrigin-RevId: 1009374839
Configuration menu - View commit details
-
Copy full SHA for 5691ac2 - Browse repository at this point
Copy the full SHA 5691ac2View commit details -
feat: add video upscale task parameter
PiperOrigin-RevId: 1009408638
Configuration menu - View commit details
-
Copy full SHA for ff129dd - Browse repository at this point
Copy the full SHA ff129ddView commit details -
chore(main): release 1.80.0 (#1353)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 109b2e9 - Browse repository at this point
Copy the full SHA 109b2e9View 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.79.0...v1.80.0