koishi-plugin-chatluna-google-gemini-adapter 1.2.3 → 1.2.4

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 CHANGED
@@ -476,7 +476,7 @@ var GeminiRequester = class extends import_api.ModelRequester {
476
476
  }
477
477
  const deltaFunctionCall = chatFunctionCallingPart?.functionCall;
478
478
  if (deltaFunctionCall) {
479
- let args = deltaFunctionCall.args?.input ?? deltaFunctionCall.args;
479
+ let args = deltaFunctionCall.args;
480
480
  try {
481
481
  let parsedArgs = JSON.parse(args);
482
482
  if (typeof parsedArgs !== "string") {
package/lib/index.mjs CHANGED
@@ -459,7 +459,7 @@ var GeminiRequester = class extends ModelRequester {
459
459
  }
460
460
  const deltaFunctionCall = chatFunctionCallingPart?.functionCall;
461
461
  if (deltaFunctionCall) {
462
- let args = deltaFunctionCall.args?.input ?? deltaFunctionCall.args;
462
+ let args = deltaFunctionCall.args;
463
463
  try {
464
464
  let parsedArgs = JSON.parse(args);
465
465
  if (typeof parsedArgs !== "string") {
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.2.3",
4
+ "version": "1.2.4",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "peerDependencies": {
74
74
  "koishi": "^4.18.7",
75
- "koishi-plugin-chatluna": "^1.3.0-alpha.2"
75
+ "koishi-plugin-chatluna": "^1.3.0-alpha.3"
76
76
  },
77
77
  "koishi": {
78
78
  "description": {