From 6e0c7c2799ccc236d2a91ed578909aab66f11be9 Mon Sep 17 00:00:00 2001 From: yinpeng <2291314224@qq.com> Date: Mon, 20 Jan 2025 16:44:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=BB=A5=E5=85=B3=E9=97=AD=E5=85=AC=E6=B0=91?= =?UTF-8?q?=E8=AF=9A=E4=BF=A1=E7=B1=BB=E5=88=AB=E7=9A=84=E9=98=88=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/gemini_chat_service.py | 2 +- app/services/openai_chat_service.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/gemini_chat_service.py b/app/services/gemini_chat_service.py index db42587..e83ba49 100644 --- a/app/services/gemini_chat_service.py +++ b/app/services/gemini_chat_service.py @@ -93,5 +93,5 @@ class GeminiChatService: {"category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE"}, {"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "threshold": "BLOCK_NONE"}, {"category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "BLOCK_NONE"}, - {"category": "HARM_CATEGORY_CIVIC_INTEGRITY", "threshold": "BLOCK_ONLY_HIGH"} + {"category": "HARM_CATEGORY_CIVIC_INTEGRITY", "threshold": "BLOCK_NONE"} ] \ No newline at end of file diff --git a/app/services/openai_chat_service.py b/app/services/openai_chat_service.py index fc0d9b2..3750e64 100644 --- a/app/services/openai_chat_service.py +++ b/app/services/openai_chat_service.py @@ -140,5 +140,5 @@ class OpenAIChatService: {"category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE"}, {"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "threshold": "BLOCK_NONE"}, {"category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "BLOCK_NONE"}, - {"category": "HARM_CATEGORY_CIVIC_INTEGRITY", "threshold": "BLOCK_ONLY_HIGH"} + {"category": "HARM_CATEGORY_CIVIC_INTEGRITY", "threshold": "BLOCK_NONE"} ] \ No newline at end of file