@aigne/gemini 0.12.3 → 0.13.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,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.1](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.13.0...gemini-v0.13.1) (2025-09-10)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/openai bumped to 0.15.1
11
+ * devDependencies
12
+ * @aigne/core bumped to 1.60.0
13
+ * @aigne/test-utils bumped to 0.5.49
14
+
15
+ ## [0.13.0](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.12.3...gemini-v0.13.0) (2025-09-09)
16
+
17
+
18
+ ### Features
19
+
20
+ * support custom prefer input file type ([#469](https://github.com/AIGNE-io/aigne-framework/issues/469)) ([db0161b](https://github.com/AIGNE-io/aigne-framework/commit/db0161bbac52542c771ee2f40f361636b0668075))
21
+
22
+
23
+ ### Dependencies
24
+
25
+ * The following workspace dependencies were updated
26
+ * dependencies
27
+ * @aigne/openai bumped to 0.15.0
28
+ * devDependencies
29
+ * @aigne/core bumped to 1.59.0
30
+ * @aigne/test-utils bumped to 0.5.48
31
+
3
32
  ## [0.12.3](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.12.2...gemini-v0.12.3) (2025-09-08)
4
33
 
5
34
 
@@ -224,7 +224,7 @@ class GeminiChatModel extends openai_1.OpenAIChatModel {
224
224
  }
225
225
  return content;
226
226
  }))).filter(type_utils_js_1.isNonNullable);
227
- if (systemParts) {
227
+ if (systemParts.length) {
228
228
  result.config ??= {};
229
229
  result.config.systemInstruction = systemParts;
230
230
  }
@@ -221,7 +221,7 @@ export class GeminiChatModel extends OpenAIChatModel {
221
221
  }
222
222
  return content;
223
223
  }))).filter(isNonNullable);
224
- if (systemParts) {
224
+ if (systemParts.length) {
225
225
  result.config ??= {};
226
226
  result.config.systemInstruction = systemParts;
227
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/gemini",
3
- "version": "0.12.3",
3
+ "version": "0.13.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.15.0",
39
39
  "uuid": "^11.1.0",
40
40
  "zod": "^3.25.67",
41
- "@aigne/platform-helpers": "^0.6.2",
42
- "@aigne/openai": "^0.14.3"
41
+ "@aigne/openai": "^0.15.1",
42
+ "@aigne/platform-helpers": "^0.6.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/bun": "^1.2.18",
@@ -47,8 +47,8 @@
47
47
  "npm-run-all": "^4.1.5",
48
48
  "rimraf": "^6.0.1",
49
49
  "typescript": "^5.8.3",
50
- "@aigne/test-utils": "^0.5.47",
51
- "@aigne/core": "^1.58.3"
50
+ "@aigne/test-utils": "^0.5.49",
51
+ "@aigne/core": "^1.60.0"
52
52
  },
53
53
  "scripts": {
54
54
  "lint": "tsc --noEmit",