koishi-plugin-chatluna-google-gemini-adapter 1.1.0-alpha.3 → 1.1.0-alpha.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
@@ -386,7 +386,7 @@ var GeminiRequester = class extends import_api.ModelRequester {
386
386
  try {
387
387
  parsedResponse = JSON.parse(rawResponse);
388
388
  } catch (e) {
389
- logger.error("error with parse json", e, rawResponse);
389
+ logger.error("error with parse json", rawResponse);
390
390
  throw new import_error.ChatLunaError(import_error.ChatLunaErrorCode.API_REQUEST_FAILED, e);
391
391
  }
392
392
  let groundingContent = "";
package/lib/index.mjs CHANGED
@@ -380,7 +380,7 @@ var GeminiRequester = class extends ModelRequester {
380
380
  try {
381
381
  parsedResponse = JSON.parse(rawResponse);
382
382
  } catch (e) {
383
- logger.error("error with parse json", e, rawResponse);
383
+ logger.error("error with parse json", rawResponse);
384
384
  throw new ChatLunaError(ChatLunaErrorCode.API_REQUEST_FAILED, e);
385
385
  }
386
386
  let groundingContent = "";
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.1.0-alpha.3",
4
+ "version": "1.1.0-alpha.4",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",