@aigne/gemini 0.14.0-beta → 0.14.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.14.0-beta.1](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.0-beta...gemini-v0.14.0-beta.1) (2025-09-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * improve image model parameters ([#530](https://github.com/AIGNE-io/aigne-framework/issues/530)) ([d66b5ca](https://github.com/AIGNE-io/aigne-framework/commit/d66b5ca01e14baad2712cc1a84930cdb63703232))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/openai bumped to 0.16.0-beta.1
16
+
3
17
  ## [0.14.0-beta](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.13.5...gemini-v0.14.0-beta) (2025-09-22)
4
18
 
5
19
 
@@ -141,7 +141,7 @@ class GeminiImageModel extends core_1.ImageModel {
141
141
  model: model,
142
142
  contents: [{ text: input.prompt }, ...images],
143
143
  config: {
144
- responseModalities: [genai_1.Modality.IMAGE],
144
+ responseModalities: [genai_1.Modality.TEXT, genai_1.Modality.IMAGE],
145
145
  candidateCount: input.n || 1,
146
146
  ...(0, type_utils_js_1.pick)(mergedInput, inputKeys),
147
147
  },
@@ -138,7 +138,7 @@ export class GeminiImageModel extends ImageModel {
138
138
  model: model,
139
139
  contents: [{ text: input.prompt }, ...images],
140
140
  config: {
141
- responseModalities: [Modality.IMAGE],
141
+ responseModalities: [Modality.TEXT, Modality.IMAGE],
142
142
  candidateCount: input.n || 1,
143
143
  ...pick(mergedInput, inputKeys),
144
144
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/gemini",
3
- "version": "0.14.0-beta",
3
+ "version": "0.14.0-beta.1",
4
4
  "description": "AIGNE Gemini SDK for integrating with Google's Gemini AI models",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -38,8 +38,8 @@
38
38
  "@google/genai": "^1.20.0",
39
39
  "uuid": "^13.0.0",
40
40
  "zod": "^3.25.67",
41
- "@aigne/platform-helpers": "^0.6.3-beta",
42
- "@aigne/openai": "^0.16.0-beta"
41
+ "@aigne/openai": "^0.16.0-beta.1",
42
+ "@aigne/platform-helpers": "^0.6.3-beta"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/bun": "^1.2.22",
@@ -47,8 +47,8 @@
47
47
  "npm-run-all": "^4.1.5",
48
48
  "rimraf": "^6.0.1",
49
49
  "typescript": "^5.9.2",
50
- "@aigne/test-utils": "^0.5.53-beta",
51
- "@aigne/core": "^1.61.0-beta"
50
+ "@aigne/core": "^1.61.0-beta",
51
+ "@aigne/test-utils": "^0.5.53-beta"
52
52
  },
53
53
  "scripts": {
54
54
  "lint": "tsc --noEmit",