Add Perplexity as Chat Completion source

This commit is contained in:
Cohee
2024-04-20 00:09:38 +03:00
parent 366e2abb8b
commit 2a2a63c52c
11 changed files with 132 additions and 9 deletions

View File

@ -8243,10 +8243,15 @@ const CONNECT_API_MAP = {
source: chat_completion_sources.CUSTOM,
},
'cohere': {
selected: 'cohere',
selected: 'openai',
button: '#api_button_openai',
source: chat_completion_sources.COHERE,
},
'perplexity': {
selected: 'openai',
button: '#api_button_openai',
source: chat_completion_sources.PERPLEXITY,
},
'infermaticai': {
selected: 'textgenerationwebui',
button: '#api_button_textgenerationwebui',