chore(version): 0.9.13
This commit is contained in:
@@ -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 [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user