chore: remove universal chat code (#2194)

This commit is contained in:
Joel
2024-01-25 11:47:35 +08:00
committed by GitHub
parent 77636945fb
commit bec998ab94
26 changed files with 10 additions and 1720 deletions

View File

@@ -52,8 +52,6 @@ export const MODEL_LIST = [
{ id: 'claude-instant-1', name: 'claude-instant-1', type: AppType.completion, provider: ProviderType.anthropic }, // set 30k
{ id: 'claude-2', name: 'claude-2', type: AppType.completion, provider: ProviderType.anthropic }, // set 30k
]
const UNIVERSAL_CHAT_MODEL_ID_LIST = ['gpt-3.5-turbo', 'gpt-3.5-turbo-16k', 'gpt-4', 'claude-2']
export const UNIVERSAL_CHAT_MODEL_LIST = MODEL_LIST.filter(({ id, type }) => UNIVERSAL_CHAT_MODEL_ID_LIST.includes(id) && (type === AppType.chat))
export const TONE_LIST = [
{
id: 1,