Update: [constants.js] Remove BISON_SAFETY

This commit is contained in:
M0cho
2024-12-16 12:45:30 +09:00
parent 0e3b4335eb
commit 3f253f42f2
2 changed files with 0 additions and 28 deletions

View File

@ -159,33 +159,6 @@ export const GEMINI_SAFETY = [
}, },
]; ];
export const BISON_SAFETY = [
{
category: 'HARM_CATEGORY_DEROGATORY',
threshold: 'BLOCK_NONE',
},
{
category: 'HARM_CATEGORY_TOXICITY',
threshold: 'BLOCK_NONE',
},
{
category: 'HARM_CATEGORY_VIOLENCE',
threshold: 'BLOCK_NONE',
},
{
category: 'HARM_CATEGORY_SEXUAL',
threshold: 'BLOCK_NONE',
},
{
category: 'HARM_CATEGORY_MEDICAL',
threshold: 'BLOCK_NONE',
},
{
category: 'HARM_CATEGORY_DANGEROUS',
threshold: 'BLOCK_NONE',
},
];
export const CHAT_COMPLETION_SOURCES = { export const CHAT_COMPLETION_SOURCES = {
OPENAI: 'openai', OPENAI: 'openai',
WINDOWAI: 'windowai', WINDOWAI: 'windowai',

View File

@ -6,7 +6,6 @@ import { jsonParser } from '../../express-common.js';
import { import {
CHAT_COMPLETION_SOURCES, CHAT_COMPLETION_SOURCES,
GEMINI_SAFETY, GEMINI_SAFETY,
BISON_SAFETY,
OPENROUTER_HEADERS, OPENROUTER_HEADERS,
} from '../../constants.js'; } from '../../constants.js';
import { import {