mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-05 20:41:30 +08:00
feat: add civic integrity category to harm block settings in GeminiProvider
This commit is contained in:
parent
2fd2ec8b6e
commit
a8536cf296
@ -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