Update: [constants.js] Remove BISON_SAFETY

3f253f42f2c6dde92ae484ad59ddc12719fc9c45

M0cho <77959408+M0ch0@users.noreply.github.com>

2 files changed, +0 -28Showing whitespace changes
src/constants.js+0 -27
@@ -159,33 +159,6 @@ export const GEMINI_SAFETY = [
159 },159 },
160];160];
161161
162export const BISON_SAFETY = [
163 {
164 category: 'HARM_CATEGORY_DEROGATORY',
165 threshold: 'BLOCK_NONE',
166 },
167 {
168 category: 'HARM_CATEGORY_TOXICITY',
169 threshold: 'BLOCK_NONE',
170 },
171 {
172 category: 'HARM_CATEGORY_VIOLENCE',
173 threshold: 'BLOCK_NONE',
174 },
175 {
176 category: 'HARM_CATEGORY_SEXUAL',
177 threshold: 'BLOCK_NONE',
178 },
179 {
180 category: 'HARM_CATEGORY_MEDICAL',
181 threshold: 'BLOCK_NONE',
182 },
183 {
184 category: 'HARM_CATEGORY_DANGEROUS',
185 threshold: 'BLOCK_NONE',
186 },
187];
188
189export const CHAT_COMPLETION_SOURCES = {162export const CHAT_COMPLETION_SOURCES = {
190 OPENAI: 'openai',163 OPENAI: 'openai',
191 WINDOWAI: 'windowai',164 WINDOWAI: 'windowai',
src/endpoints/backends/chat-completions.js+0 -1
@@ -6,7 +6,6 @@ import { jsonParser } from '../../express-common.js';
6import {6import {
7 CHAT_COMPLETION_SOURCES,7 CHAT_COMPLETION_SOURCES,
8 GEMINI_SAFETY,8 GEMINI_SAFETY,
9 BISON_SAFETY,
10 OPENROUTER_HEADERS,9 OPENROUTER_HEADERS,
11} from '../../constants.js';10} from '../../constants.js';
12import {11import {