chore: remove universal chat code (#2194)

This commit is contained in:
Joel 2024-01-25 11:47:35 +08:00 • committed by GitHub
commit bec998ab94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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,