refactor: Deprecate HARM_CATEGORY_CIVIC_INTEGRITY in safety settings

This commit is contained in:
CaIon
2025-11-23 23:45:10 +08:00
parent 07aff1fe02
commit c939686509
2 changed files with 2 additions and 3 deletions

View File

@@ -17,8 +17,7 @@ type GeminiSettings struct {
// 默认配置
var defaultGeminiSettings = GeminiSettings{
SafetySettings: map[string]string{
"default": "OFF",
"HARM_CATEGORY_CIVIC_INTEGRITY": "BLOCK_NONE",
"default": "OFF",
},
VersionSettings: map[string]string{
"default": "v1beta",