mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-11 08:19:01 +08:00
feat: add civic integrity category to harm block settings in GeminiProvider
This commit is contained in:
parent
5b00c21f15
commit
c87e88a53a
@ -151,7 +151,8 @@ export default class GeminiProvider extends BaseProvider {
|
|||||||
threshold: 'OFF' as HarmBlockThreshold
|
threshold: 'OFF' as HarmBlockThreshold
|
||||||
},
|
},
|
||||||
{ category: HarmCategory.HARM_CATEGORY_HARASSMENT, threshold: 'OFF' as HarmBlockThreshold },
|
{ category: HarmCategory.HARM_CATEGORY_HARASSMENT, threshold: 'OFF' as HarmBlockThreshold },
|
||||||
{ category: HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT, 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 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
this.requestOptions
|
this.requestOptions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user