From 5f2a73ac9fce25752d5dbec3b237cc96a7fdf5e6 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 19 Jul 2024 23:34:16 +0300 Subject: [PATCH] Expose "Allow fallback providers" for OpenRouter --- public/index.html | 29 +++++++++++----------- public/scripts/openai.js | 12 +++++++++ public/scripts/preset-manager.js | 1 + public/scripts/textgen-settings.js | 3 +++ src/endpoints/backends/chat-completions.js | 2 +- src/endpoints/backends/text-completions.js | 2 +- 6 files changed, 33 insertions(+), 16 deletions(-) diff --git a/public/index.html b/public/index.html index cca1fefba..aa4089668 100644 --- a/public/index.html +++ b/public/index.html @@ -2091,6 +2091,10 @@

Model Providers

+
@@ -2668,11 +2672,10 @@
-
-

Model Providers

- -
+
@@ -2703,16 +2706,14 @@
-
-