koishi-plugin-chatluna-google-gemini-adapter 1.0.0-beta.22 → 1.0.0-beta.23
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/lib/index.cjs +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +2 -2
package/lib/index.cjs
CHANGED
|
@@ -580,7 +580,7 @@ var GeminiClient = class extends import_client.PlatformModelAndEmbeddingsClient
|
|
|
580
580
|
requester: this._requester,
|
|
581
581
|
model,
|
|
582
582
|
modelMaxContextSize: info.maxTokens,
|
|
583
|
-
|
|
583
|
+
maxTokenLimit: this._config.maxTokens,
|
|
584
584
|
timeout: this._config.timeout,
|
|
585
585
|
temperature: this._config.temperature,
|
|
586
586
|
maxRetries: this._config.maxRetries,
|
package/lib/index.mjs
CHANGED
|
@@ -573,7 +573,7 @@ var GeminiClient = class extends PlatformModelAndEmbeddingsClient {
|
|
|
573
573
|
requester: this._requester,
|
|
574
574
|
model,
|
|
575
575
|
modelMaxContextSize: info.maxTokens,
|
|
576
|
-
|
|
576
|
+
maxTokenLimit: this._config.maxTokens,
|
|
577
577
|
timeout: this._config.timeout,
|
|
578
578
|
temperature: this._config.temperature,
|
|
579
579
|
maxRetries: this._config.maxRetries,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-chatluna-google-gemini-adapter",
|
|
3
3
|
"description": "google-gemini adapter for chatluna",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.23",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
7
7
|
"typings": "lib/index.d.ts",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"koishi": "^4.17.12",
|
|
62
|
-
"koishi-plugin-chatluna": "^1.0.0-beta.
|
|
62
|
+
"koishi-plugin-chatluna": "^1.0.0-beta.87"
|
|
63
63
|
},
|
|
64
64
|
"koishi": {
|
|
65
65
|
"description": {
|