From 7063fce2af86a7f50ca64275885ccf2091b94115 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 6 May 2024 19:26:20 +0300 Subject: [PATCH] Selectable openrouter providers --- public/index.html | 10 +++ public/scripts/openai.js | 7 ++ public/scripts/preset-manager.js | 1 + public/scripts/textgen-models.js | 75 +++++++++++++++++++++- public/scripts/textgen-settings.js | 6 ++ src/constants.js | 1 + src/endpoints/backends/chat-completions.js | 7 ++ src/endpoints/backends/text-completions.js | 8 +++ 8 files changed, 114 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index b93346a79..1c5d7049e 100644 --- a/public/index.html +++ b/public/index.html @@ -1989,6 +1989,11 @@ +