Add connection map aliases

This commit is contained in:
Cohee
2024-09-29 16:24:40 +03:00
parent 53424d4c8e
commit 9f0c2300d2

View File

@ -8476,12 +8476,22 @@ const CONNECT_API_MAP = {
selected: 'novel', selected: 'novel',
button: '#api_button_novel', button: '#api_button_novel',
}, },
'koboldcpp': {
selected: 'textgenerationwebui',
button: '#api_button_textgenerationwebui',
type: textgen_types.KOBOLDCPP,
},
// KoboldCpp alias // KoboldCpp alias
'kcpp': { 'kcpp': {
selected: 'textgenerationwebui', selected: 'textgenerationwebui',
button: '#api_button_textgenerationwebui', button: '#api_button_textgenerationwebui',
type: textgen_types.KOBOLDCPP, type: textgen_types.KOBOLDCPP,
}, },
'openai': {
selected: 'openai',
button: '#api_button_openai',
source: chat_completion_sources.OPENAI,
},
// OpenAI alias // OpenAI alias
'oai': { 'oai': {
selected: 'openai', selected: 'openai',