Add alias for /api google

This commit is contained in:
Cohee
2024-08-21 21:22:42 +03:00
parent 06e3d5f8de
commit 52bd06b910

View File

@ -8384,6 +8384,12 @@ const CONNECT_API_MAP = {
button: '#api_button_openai',
source: chat_completion_sources.OPENAI,
},
// Google alias
'google': {
selected: 'openai',
button: '#api_button_openai',
source: chat_completion_sources.MAKERSUITE,
},
// OpenRouter special naming, to differentiate between chat comp and text comp
'openrouter': {
selected: 'openai',