@aigne/gemini 0.14.15-beta → 0.14.15-beta.2
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,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.14.15-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.15-beta.1...gemini-v0.14.15-beta.2) (2025-12-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @aigne/core bumped to 1.71.0-beta.2
|
|
11
|
+
* devDependencies
|
|
12
|
+
* @aigne/test-utils bumped to 0.5.68-beta.2
|
|
13
|
+
|
|
14
|
+
## [0.14.15-beta.1](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.15-beta...gemini-v0.14.15-beta.1) (2025-12-08)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* correct run example & doc improvements ([#707](https://github.com/AIGNE-io/aigne-framework/issues/707)) ([f98fc5d](https://github.com/AIGNE-io/aigne-framework/commit/f98fc5df28fd6ce6134128c2f0e5395c1554b740))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Dependencies
|
|
23
|
+
|
|
24
|
+
* The following workspace dependencies were updated
|
|
25
|
+
* dependencies
|
|
26
|
+
* @aigne/core bumped to 1.71.0-beta.1
|
|
27
|
+
* devDependencies
|
|
28
|
+
* @aigne/test-utils bumped to 0.5.68-beta.1
|
|
29
|
+
|
|
3
30
|
## [0.14.15-beta](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.14...gemini-v0.14.15-beta) (2025-12-07)
|
|
4
31
|
|
|
5
32
|
|
|
@@ -68,21 +68,21 @@ export declare class GeminiChatModel extends ChatModel {
|
|
|
68
68
|
protected thinkingBudgetModelMap: ({
|
|
69
69
|
pattern: RegExp;
|
|
70
70
|
support: boolean;
|
|
71
|
-
type
|
|
71
|
+
type?: undefined;
|
|
72
72
|
min?: undefined;
|
|
73
73
|
max?: undefined;
|
|
74
74
|
} | {
|
|
75
75
|
pattern: RegExp;
|
|
76
76
|
support: boolean;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
type: string;
|
|
78
|
+
min?: undefined;
|
|
79
|
+
max?: undefined;
|
|
80
80
|
} | {
|
|
81
81
|
pattern: RegExp;
|
|
82
82
|
support: boolean;
|
|
83
|
+
min: number;
|
|
84
|
+
max: number;
|
|
83
85
|
type?: undefined;
|
|
84
|
-
min?: undefined;
|
|
85
|
-
max?: undefined;
|
|
86
86
|
})[];
|
|
87
87
|
protected thinkingBudgetLevelMap: {
|
|
88
88
|
high: number;
|
|
@@ -66,6 +66,11 @@ class GeminiChatModel extends core_1.ChatModel {
|
|
|
66
66
|
}
|
|
67
67
|
// References: https://ai.google.dev/gemini-api/docs/thinking#set-budget
|
|
68
68
|
thinkingBudgetModelMap = [
|
|
69
|
+
// 注意:gemini-2.5-flash-image-preview 模型并不支持 thinking。see: https://github.com/CherryHQ/cherry-studio/issues/9614
|
|
70
|
+
{
|
|
71
|
+
pattern: /gemini-2.5-flash-image-preview/,
|
|
72
|
+
support: false,
|
|
73
|
+
},
|
|
69
74
|
{
|
|
70
75
|
pattern: /gemini-3(?!.*-image-)/,
|
|
71
76
|
support: true,
|
|
@@ -68,21 +68,21 @@ export declare class GeminiChatModel extends ChatModel {
|
|
|
68
68
|
protected thinkingBudgetModelMap: ({
|
|
69
69
|
pattern: RegExp;
|
|
70
70
|
support: boolean;
|
|
71
|
-
type
|
|
71
|
+
type?: undefined;
|
|
72
72
|
min?: undefined;
|
|
73
73
|
max?: undefined;
|
|
74
74
|
} | {
|
|
75
75
|
pattern: RegExp;
|
|
76
76
|
support: boolean;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
type: string;
|
|
78
|
+
min?: undefined;
|
|
79
|
+
max?: undefined;
|
|
80
80
|
} | {
|
|
81
81
|
pattern: RegExp;
|
|
82
82
|
support: boolean;
|
|
83
|
+
min: number;
|
|
84
|
+
max: number;
|
|
83
85
|
type?: undefined;
|
|
84
|
-
min?: undefined;
|
|
85
|
-
max?: undefined;
|
|
86
86
|
})[];
|
|
87
87
|
protected thinkingBudgetLevelMap: {
|
|
88
88
|
high: number;
|
|
@@ -68,21 +68,21 @@ export declare class GeminiChatModel extends ChatModel {
|
|
|
68
68
|
protected thinkingBudgetModelMap: ({
|
|
69
69
|
pattern: RegExp;
|
|
70
70
|
support: boolean;
|
|
71
|
-
type
|
|
71
|
+
type?: undefined;
|
|
72
72
|
min?: undefined;
|
|
73
73
|
max?: undefined;
|
|
74
74
|
} | {
|
|
75
75
|
pattern: RegExp;
|
|
76
76
|
support: boolean;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
type: string;
|
|
78
|
+
min?: undefined;
|
|
79
|
+
max?: undefined;
|
|
80
80
|
} | {
|
|
81
81
|
pattern: RegExp;
|
|
82
82
|
support: boolean;
|
|
83
|
+
min: number;
|
|
84
|
+
max: number;
|
|
83
85
|
type?: undefined;
|
|
84
|
-
min?: undefined;
|
|
85
|
-
max?: undefined;
|
|
86
86
|
})[];
|
|
87
87
|
protected thinkingBudgetLevelMap: {
|
|
88
88
|
high: number;
|
|
@@ -63,6 +63,11 @@ export class GeminiChatModel extends ChatModel {
|
|
|
63
63
|
}
|
|
64
64
|
// References: https://ai.google.dev/gemini-api/docs/thinking#set-budget
|
|
65
65
|
thinkingBudgetModelMap = [
|
|
66
|
+
// 注意:gemini-2.5-flash-image-preview 模型并不支持 thinking。see: https://github.com/CherryHQ/cherry-studio/issues/9614
|
|
67
|
+
{
|
|
68
|
+
pattern: /gemini-2.5-flash-image-preview/,
|
|
69
|
+
support: false,
|
|
70
|
+
},
|
|
66
71
|
{
|
|
67
72
|
pattern: /gemini-3(?!.*-image-)/,
|
|
68
73
|
support: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/gemini",
|
|
3
|
-
"version": "0.14.15-beta",
|
|
3
|
+
"version": "0.14.15-beta.2",
|
|
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.71.0-beta",
|
|
43
|
+
"@aigne/core": "^1.71.0-beta.2",
|
|
44
44
|
"@aigne/platform-helpers": "^0.6.5"
|
|
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.68-beta"
|
|
52
|
+
"@aigne/test-utils": "^0.5.68-beta.2"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"lint": "tsc --noEmit",
|