From ce787321b8551b8f791bb728c43e90b404a7bf14 Mon Sep 17 00:00:00 2001 From: mic Date: Tue, 28 Jan 2025 22:57:26 +0100 Subject: [PATCH] commented out some console.log debug statements --- js/api/google_gemini.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/api/google_gemini.js b/js/api/google_gemini.js index b1add616..d0d8a055 100644 --- a/js/api/google_gemini.js +++ b/js/api/google_gemini.js @@ -55,7 +55,7 @@ export class GoogleGemini { let output = {}; output.ok = true; let output_response = await response.json(); - console.log("[ThunderAI] Google Gemini API response: " + JSON.stringify(output_response)); + //console.log("[ThunderAI] Google Gemini API response: " + JSON.stringify(output_response)); output.response = output_response.models; return output; @@ -76,7 +76,7 @@ export class GoogleGemini { contents:messages }; - console.log("[ThunderAI] Google Gemini API system_instruction: " + JSON.stringify(this.system_instruction)); + // console.log("[ThunderAI] Google Gemini API system_instruction: " + JSON.stringify(this.system_instruction)); if(this.system_instruction !== '') { google_gemini_body.system_instruction = { @@ -86,7 +86,7 @@ export class GoogleGemini { } } - console.log("[ThunderAI] Google Gemini API request: " + JSON.stringify(google_gemini_body)); + // console.log("[ThunderAI] Google Gemini API request: " + JSON.stringify(google_gemini_body)); const response = await fetch("https://generativelanguage.googleapis.com/v1beta/models/" + this.model + ":" + (this.stream ? 'streamGenerateContent?alt=sse&' : 'generateContent?') + "key=" + this.apiKey, { method: "POST",