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 +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +1 -1
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",
|
|
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",
|
|
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