@aigne/gemini 0.14.16-beta.3 → 0.14.16-beta.5
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 +18 -0
- package/lib/cjs/gemini-chat-model.js +3 -1
- package/lib/esm/gemini-chat-model.js +3 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.14.16-beta.5](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.16-beta.4...gemini-v0.14.16-beta.5) (2025-12-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @aigne/core bumped to 1.72.0-beta.4
|
|
11
|
+
* devDependencies
|
|
12
|
+
* @aigne/test-utils bumped to 0.5.69-beta.4
|
|
13
|
+
|
|
14
|
+
## [0.14.16-beta.4](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.16-beta.3...gemini-v0.14.16-beta.4) (2025-12-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **models:** parallel tool calls for gemini model ([#844](https://github.com/AIGNE-io/aigne-framework/issues/844)) ([adfae33](https://github.com/AIGNE-io/aigne-framework/commit/adfae337709295b594a8f5da61213535d2ef61aa))
|
|
20
|
+
|
|
3
21
|
## [0.14.16-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.16-beta.2...gemini-v0.14.16-beta.3) (2025-12-19)
|
|
4
22
|
|
|
5
23
|
|
|
@@ -217,7 +217,6 @@ class GeminiChatModel extends core_1.ChatModel {
|
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
219
|
toolCalls.push(toolCall);
|
|
220
|
-
yield { delta: { json: { toolCalls } } };
|
|
221
220
|
}
|
|
222
221
|
}
|
|
223
222
|
}
|
|
@@ -236,6 +235,9 @@ class GeminiChatModel extends core_1.ChatModel {
|
|
|
236
235
|
}
|
|
237
236
|
}
|
|
238
237
|
}
|
|
238
|
+
if (toolCalls.length) {
|
|
239
|
+
yield { delta: { json: { toolCalls } } };
|
|
240
|
+
}
|
|
239
241
|
if (input.responseFormat?.type === "json_schema") {
|
|
240
242
|
if (json) {
|
|
241
243
|
yield { delta: { json: { json } } };
|
|
@@ -214,7 +214,6 @@ export class GeminiChatModel extends ChatModel {
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
toolCalls.push(toolCall);
|
|
217
|
-
yield { delta: { json: { toolCalls } } };
|
|
218
217
|
}
|
|
219
218
|
}
|
|
220
219
|
}
|
|
@@ -233,6 +232,9 @@ export class GeminiChatModel extends ChatModel {
|
|
|
233
232
|
}
|
|
234
233
|
}
|
|
235
234
|
}
|
|
235
|
+
if (toolCalls.length) {
|
|
236
|
+
yield { delta: { json: { toolCalls } } };
|
|
237
|
+
}
|
|
236
238
|
if (input.responseFormat?.type === "json_schema") {
|
|
237
239
|
if (json) {
|
|
238
240
|
yield { delta: { json: { json } } };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/gemini",
|
|
3
|
-
"version": "0.14.16-beta.
|
|
3
|
+
"version": "0.14.16-beta.5",
|
|
4
4
|
"description": "AIGNE Gemini SDK for integrating with Google's Gemini AI models",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"yaml": "^2.8.1",
|
|
41
41
|
"zod": "^3.25.67",
|
|
42
42
|
"zod-to-json-schema": "^3.24.6",
|
|
43
|
-
"@aigne/core": "^1.72.0-beta.
|
|
43
|
+
"@aigne/core": "^1.72.0-beta.4",
|
|
44
44
|
"@aigne/platform-helpers": "^0.6.7-beta"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"npm-run-all": "^4.1.5",
|
|
50
50
|
"rimraf": "^6.0.1",
|
|
51
51
|
"typescript": "^5.9.2",
|
|
52
|
-
"@aigne/test-utils": "^0.5.69-beta.
|
|
52
|
+
"@aigne/test-utils": "^0.5.69-beta.4"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"lint": "tsc --noEmit",
|