chore(version): 0.9.13
This commit is contained in:
parent
d850fd315a
commit
a6833d5994
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "CherryStudio",
|
||||
"version": "0.9.12",
|
||||
"version": "0.9.13",
|
||||
"private": true,
|
||||
"description": "A powerful AI assistant for producer.",
|
||||
"main": "./out/main/index.js",
|
||||
|
||||
@ -114,10 +114,9 @@ export default class GeminiProvider extends BaseProvider {
|
||||
}
|
||||
|
||||
private getSafetySettings(modelId: string): SafetySetting[] {
|
||||
const safetyThreshold =
|
||||
modelId.includes('gemini-exp-') || modelId.includes('thinking-exp')
|
||||
? HarmBlockThreshold.BLOCK_NONE
|
||||
: ('OFF' as HarmBlockThreshold)
|
||||
const safetyThreshold = modelId.includes('gemini-2.0-flash-exp')
|
||||
? ('OFF' as HarmBlockThreshold)
|
||||
: HarmBlockThreshold.BLOCK_NONE
|
||||
|
||||
return [
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user