From b80f583acafbef4507fd45d75c075d09c72ddfad Mon Sep 17 00:00:00 2001 From: kwaroran Date: Mon, 8 May 2023 22:48:31 +0900 Subject: [PATCH] added oogabooga help --- src/lang/en.ts | 4 +++- src/lib/SideBars/Settings.svelte | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lang/en.ts b/src/lang/en.ts index 01476fc2..0d1cc831 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -57,7 +57,9 @@ export const languageEnglish = { + "- **Modify Request Data** modifys current chat data when sent.\n\nIN must be a regex without flags and *\\*.\n\nOUT is a normal string." + "\n\n If OUT starts with **@@**, it doesn't replaces the string, but instead does a special effect if matching string founds." + "\n\n- @@emo (emotion name)\n\n if character is Emotion Images mode, sets (emotion name) as emotion and prevents default.", - experimental: "This is a experimental setting. it might be unstable." + experimental: "This is a experimental setting. it might be unstable.", + oogaboogaURL: "If your WebUI supports older version of api, your url should look *like https:.../run/textgen*\n\n" + + "If your WebUI supports newVersion of api, your url should look like *https://.../api/v1/generate* and use the api server as host, and add --api to arguments." }, setup: { chooseProvider: "Choose AI Provider", diff --git a/src/lib/SideBars/Settings.svelte b/src/lib/SideBars/Settings.svelte index 40061de8..d661fdad 100644 --- a/src/lib/SideBars/Settings.svelte +++ b/src/lib/SideBars/Settings.svelte @@ -127,10 +127,13 @@ {/if} {#if $DataBase.aiModel === 'textgen_webui' || $DataBase.subModel === 'textgen_webui'} - TextGen {language.providerURL} + TextGen {language.providerURL} You must use WebUI without agpl license or use unmodified version with agpl license to observe the contents of the agpl license. You must use textgen webui with --no-stream and without --cai-chat or --chat + {#if !isTauri} + You are using web version. you must use ngrok or other tunnels to use your local webui. + {/if} {/if} {language.mainPrompt}