@aigne/gemini 0.14.12 → 0.14.13-beta

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,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.14.13-beta](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.12...gemini-v0.14.13-beta) (2025-12-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * **core:** add nested getter pattern support for model options ([#796](https://github.com/AIGNE-io/aigne-framework/issues/796)) ([824b2fe](https://github.com/AIGNE-io/aigne-framework/commit/824b2fe55cb2a24620e2bb73b470532918fa2996))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/core bumped to 1.70.0-beta
16
+ * devDependencies
17
+ * @aigne/test-utils bumped to 0.5.66-beta
18
+
3
19
  ## [0.14.12](https://github.com/AIGNE-io/aigne-framework/compare/gemini-v0.14.12-beta.1...gemini-v0.14.12) (2025-11-28)
4
20
 
5
21
 
@@ -130,7 +130,7 @@ class GeminiChatModel extends core_1.ChatModel {
130
130
  return { support: true, budget };
131
131
  }
132
132
  async *processInput(input, options) {
133
- const modelOptions = await this.getModelOptions(input, options);
133
+ const { modelOptions = {} } = input;
134
134
  const model = modelOptions.model || this.credential.model;
135
135
  const { contents, config } = await this.buildContents(input, options);
136
136
  const thinkingBudget = this.getThinkingBudget(model, modelOptions.reasoningEffort);
@@ -127,7 +127,7 @@ export class GeminiChatModel extends ChatModel {
127
127
  return { support: true, budget };
128
128
  }
129
129
  async *processInput(input, options) {
130
- const modelOptions = await this.getModelOptions(input, options);
130
+ const { modelOptions = {} } = input;
131
131
  const model = modelOptions.model || this.credential.model;
132
132
  const { contents, config } = await this.buildContents(input, options);
133
133
  const thinkingBudget = this.getThinkingBudget(model, modelOptions.reasoningEffort);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/gemini",
3
- "version": "0.14.12",
3
+ "version": "0.14.13-beta",
4
4
  "description": "AIGNE Gemini SDK for integrating with Google's Gemini AI models",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -39,7 +39,7 @@
39
39
  "@google/genai": "^1.30.0",
40
40
  "zod": "^3.25.67",
41
41
  "zod-to-json-schema": "^3.24.6",
42
- "@aigne/core": "^1.69.2",
42
+ "@aigne/core": "^1.70.0-beta",
43
43
  "@aigne/platform-helpers": "^0.6.5"
44
44
  },
45
45
  "devDependencies": {
@@ -48,7 +48,7 @@
48
48
  "npm-run-all": "^4.1.5",
49
49
  "rimraf": "^6.0.1",
50
50
  "typescript": "^5.9.2",
51
- "@aigne/test-utils": "^0.5.65"
51
+ "@aigne/test-utils": "^0.5.66-beta"
52
52
  },
53
53
  "scripts": {
54
54
  "lint": "tsc --noEmit",