chore(version): 0.9.13

This commit is contained in:
kangfenmao
2025-01-20 13:04:55 +08:00
parent 9f268c7897
commit 42c6084c03
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -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 [
{