Skip to content

Commit 5294da2

Browse files
Annhiluccopybara-github
authored andcommitted
feat: Support 4:5 and 5:4 aspect ratio in Interactions
PiperOrigin-RevId: 856693580
1 parent 1253ff0 commit 5294da2

File tree

6 files changed

+6
-16
lines changed

6 files changed

+6
-16
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.36.0"
2+
".": "1.35.0"
33
}

CHANGELOG.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
# Changelog
22

33

4-
## [1.36.0](https://github.com/googleapis/js-genai/compare/v1.35.0...v1.36.0) (2026-01-14)
5-
6-
7-
### Features
8-
9-
* Add FileSearchCallContent to Interactions ([ccf11a4](https://github.com/googleapis/js-genai/commit/ccf11a463f3364683b7c39ffec9670f77bcc16dc))
10-
* Add ImageConfig to GenerationConfig for image generation in Interactions ([f34b6fb](https://github.com/googleapis/js-genai/commit/f34b6fbcb2ad846c73b9c47bfd3ba94e00eb73a9))
11-
* Support JS local tokenizer ([bb429ad](https://github.com/googleapis/js-genai/commit/bb429ad3ed8d170f2a5abda01a00a918012ab80c))
12-
* voice activity support ([3ad1011](https://github.com/googleapis/js-genai/commit/3ad101159a8257897940d6a1f94aa6b68b810f37))
13-
144
## [1.35.0](https://github.com/googleapis/js-genai/compare/v1.34.0...v1.35.0) (2026-01-07)
155

166

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@google/genai",
3-
"version": "1.36.0",
3+
"version": "1.34.0",
44
"description": "",
55
"type": "module",
66
"main": "dist/node/index.mjs",

src/_api_client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
1717
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
1818
const USER_AGENT_HEADER = 'User-Agent';
1919
export const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
20-
export const SDK_VERSION = '1.36.0'; // x-release-please-version
20+
export const SDK_VERSION = '1.35.0'; // x-release-please-version
2121
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
2222
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
2323
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';

src/interactions/resources/interactions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ export interface GoogleSearchResultContent {
977977
* The configuration for image interaction.
978978
*/
979979
export interface ImageConfig {
980-
aspect_ratio?: '1:1' | '2:3' | '3:2' | '3:4' | '4:3' | '9:16' | '16:9' | '21:9';
980+
aspect_ratio?: '1:1' | '2:3' | '3:2' | '3:4' | '4:3' | '4:5' | '5:4' | '9:16' | '16:9' | '21:9';
981981

982982
image_size?: '1K' | '2K' | '4K';
983983
}

0 commit comments

Comments
 (0)