From 7b6603614fb8e08167492a2c3d7347881871d423 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Sun, 29 Oct 2023 23:02:56 +0200
Subject: [PATCH] Add API icons for aphrodite and mancer
---
public/img/aphrodite.svg | 71 ++++++++++++++++++++++++++++++++++++++++
public/img/mancer.svg | 3 ++
public/script.js | 2 ++
3 files changed, 76 insertions(+)
create mode 100644 public/img/aphrodite.svg
create mode 100644 public/img/mancer.svg
diff --git a/public/img/aphrodite.svg b/public/img/aphrodite.svg
new file mode 100644
index 000000000..f9d6f4182
--- /dev/null
+++ b/public/img/aphrodite.svg
@@ -0,0 +1,71 @@
+
+
diff --git a/public/img/mancer.svg b/public/img/mancer.svg
new file mode 100644
index 000000000..6f84d4c45
--- /dev/null
+++ b/public/img/mancer.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/script.js b/public/script.js
index 1af4a6e62..c4b8aaa36 100644
--- a/public/script.js
+++ b/public/script.js
@@ -4204,6 +4204,8 @@ function getGeneratingApi() {
switch (main_api) {
case 'openai':
return oai_settings.chat_completion_source || 'openai';
+ case 'textgenerationwebui':
+ return textgenerationwebui_settings.type === textgen_types.OOBA ? 'textgenerationwebui' : textgenerationwebui_settings.type;
default:
return main_api;
}