Merge pull request #2784 from M0ch0/staging Fixed an issue where the text inside the buttons in the API connection menu became vertically long and difficult to read in a multi-byte character environment.
Signed| @@ -1983,8 +1983,8 @@ | ||
| 1983 | 1983 | KoboldCpp works better when you select the Text Completion API and then KoboldCpp as a type! |
| 1984 | 1984 | </div> |
| 1985 | 1985 | <div class="flex-container"> |
| 1986 | 1986 | <div id="api_button" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect" data-server-connect="kobold">Connect</div> |
| 1987 | 1987 | <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div> |
| 1988 | 1988 | </div> |
| 1989 | 1989 | </div> |
| 1990 | 1990 | <div class="online_status"> |
| @@ -2023,8 +2023,8 @@ | ||
| 2023 | 2023 | <option value="kayra-v1">Kayra</option> |
| 2024 | 2024 | </select> |
| 2025 | 2025 | <div class="flex-container"> |
| 2026 | 2026 | <div id="api_button_novel" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect">Connect</div> |
| 2027 | 2027 | <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div> |
| 2028 | 2028 | </div> |
| 2029 | 2029 | </form> |
| 2030 | 2030 | <div class="online_status"> |
| @@ -2396,9 +2396,9 @@ | ||
| 2396 | 2396 | </div> |
| 2397 | 2397 | </div> |
| 2398 | 2398 | <div class="flex-container"> |
| 2399 | 2399 | <div id="api_button_textgenerationwebui" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect" data-server-connect="ooba_blocking,vllm,aphrodite,tabby,koboldcpp,ollama,llamacpp,huggingface">Connect</div> |
| 2400 | 2400 | <div data-tg-type="openrouter" class="menu_button menu_button_icon openrouter_authorize" title="Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai" data-i18n="Authorize;[title]Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai">Authorize</div> |
| 2401 | 2401 | <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div> |
| 2402 | 2402 | </div> |
| 2403 | 2403 | <label data-tg-type="ooba,aphrodite" class="checkbox_label margin-bot-10px" for="legacy_api_textgenerationwebui"> |
| 2404 | 2404 | <input type="checkbox" id="legacy_api_textgenerationwebui" /> |
| @@ -3033,7 +3033,7 @@ | ||
| 3033 | 3033 | </div> |
| 3034 | 3034 | <div class="flex-container flex"> |
| 3035 | 3035 | <div id="api_button_openai" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect">Connect</div> |
| 3036 | 3036 | <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div> |
| 3037 | 3037 | <div data-source="custom" id="customize_additional_parameters" class="menu_button menu_button_icon" data-i18n="Additional Parameters">Additional Parameters</div> |
| 3038 | 3038 | <div data-source="openrouter" class="menu_button menu_button_icon openrouter_authorize" title="Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai" data-i18n="Authorize;[title]Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai">Authorize</div> |
| 3039 | 3039 | <div id="test_api_button" class="menu_button menu_button_icon" title="Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!" data-i18n="[title]Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!"><span data-i18n="Test Message">Test Message</span></div> |