From 52bd06b91027268115162eeabd2c7c6c55975364 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 21 Aug 2024 21:22:42 +0300 Subject: [PATCH] Add alias for /api google --- public/script.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/script.js b/public/script.js index d06fc90ed..6f65727fc 100644 --- a/public/script.js +++ b/public/script.js @@ -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',