feat: update harmblockthreshold for harm_category_civic_integrity

This commit is contained in:
kangfenmao 2025-01-15 15:22:37 +08:00
parent c87e88a53a
commit 57718dda6f

View File

@ -152,7 +152,7 @@ export default class GeminiProvider extends BaseProvider {
},
{ category: HarmCategory.HARM_CATEGORY_HARASSMENT, threshold: 'OFF' as HarmBlockThreshold },
{ category: HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT, threshold: 'OFF' as HarmBlockThreshold },
{ category: 'HARM_CATEGORY_CIVIC_INTEGRITY' as HarmCategory, threshold: 'OFF' as HarmBlockThreshold }
{ category: 'HARM_CATEGORY_CIVIC_INTEGRITY' as HarmCategory, threshold: 'BLOCK_NONE' as HarmBlockThreshold }
]
},
this.requestOptions