From 18c493d4e8e479effae6bd1fb0b8efa2ba346963 Mon Sep 17 00:00:00 2001 From: do02fw <138294823+do02fw@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:36:01 +0800 Subject: [PATCH] Update google.ts --- app/client/platforms/google.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/client/platforms/google.ts b/app/client/platforms/google.ts index 848e5cd3f..8112c0058 100644 --- a/app/client/platforms/google.ts +++ b/app/client/platforms/google.ts @@ -86,19 +86,19 @@ export class GeminiProApi implements LLMApi { safetySettings: [ { category: "HARM_CATEGORY_HARASSMENT", - threshold: "BLOCK_ONLY_HIGH", + threshold: "BLOCK_NONE", }, { category: "HARM_CATEGORY_HATE_SPEECH", - threshold: "BLOCK_ONLY_HIGH", + threshold: "BLOCK_NONE", }, { category: "HARM_CATEGORY_SEXUALLY_EXPLICIT", - threshold: "BLOCK_ONLY_HIGH", + threshold: "BLOCK_NONE", }, { category: "HARM_CATEGORY_DANGEROUS_CONTENT", - threshold: "BLOCK_ONLY_HIGH", + threshold: "BLOCK_NONE", }, ], };