launcher upgrades

+added discord server list from FAQ
This commit is contained in:
deffcolony
2024-07-30 12:49:33 +02:00
parent 4439a0887c
commit 1abc998dd4
2 changed files with 146 additions and 11 deletions

View File

@@ -3874,10 +3874,10 @@ REM ############################################################
REM ########## TROUBLESHOOTING & SUPPORT - FRONTEND ############
REM ############################################################
:troubleshooting
title STL [TROUBLESHOOTING ^& SUPPORT]
title STL [TROUBLE ^& SUPPORT]
@echo off
cls
echo %blue_fg_strong%^| ^> / Home / Toolbox / Troubleshooting ^& Support ^|%reset%
echo %blue_fg_strong%^| ^> / Home / Troubleshooting ^& Support ^|%reset%
echo %blue_fg_strong% ==============================================================%reset%
setlocal enabledelayedexpansion
@@ -3916,7 +3916,7 @@ echo %cyan_fg_strong% __________________________________________________________
echo %cyan_fg_strong%^| Support Options: ^|%reset%
echo 7. Report an Issue
echo 8. SillyTavern Documentation
echo 9. Get Help on Discord
echo 9. Discord servers
echo %cyan_fg_strong% ______________________________________________________________%reset%
echo %cyan_fg_strong%^| Menu Options: ^|%reset%
echo 0. Back
@@ -4004,10 +4004,18 @@ if "%troubleshooting_choice%"=="1" (
) else if "%troubleshooting_choice%"=="8" (
call :documentation
) else if "%troubleshooting_choice%"=="9" (
call :discord
set "caller=home"
if exist "%troubleshooting_dir%\Support\discord.bat" (
call %troubleshooting_dir%\Support\discord.bat
goto :troubleshooting
) else (
echo [%DATE% %TIME%] ERROR: discord.bat not found in: %troubleshooting_dir%\Support >> %logs_stl_console_path%
echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] discord.bat not found in: %troubleshooting_dir%\Support%reset%
pause
)
) else if "%troubleshooting_choice%"=="0" (
goto :home
) else if "%choice%"=="99" (
) else if "%troubleshooting_choice%"=="99" (
set "caller=home"
if exist "%troubleshooting_dir%\find_app_port.bat" (
call %troubleshooting_dir%\find_app_port.bat 8000
@@ -4031,11 +4039,6 @@ goto :troubleshooting
start "" "https://docs.sillytavern.app/"
goto :troubleshooting
:discord
start "" "https://discord.gg/sillytavern"
goto :troubleshooting
endlocal
REM ############################################################
REM ############## SWITCH BRANCH - FRONTEND ####################
@@ -4043,7 +4046,7 @@ REM ############################################################
:switch_branch
title STL [SWITCH-BRANCH]
cls
echo %blue_fg_strong%^| ^> / Home / Toolbox / Switch Branch ^|%reset%
echo %blue_fg_strong%^| ^> / Home / Toolbox / Switch Branch ^|%reset%
echo %blue_fg_strong% ==============================================================%reset%
REM Get the current Git branch
for /f %%i in ('git branch --show-current') do set current_branch=%%i

View File

@@ -0,0 +1,132 @@
@echo off
REM ############################################################
REM ############## DISCORD SERVERS - FRONTEND ##################
REM ############################################################
:discord_servers_menu
title STL [DISCORD SERVERS]
cls
echo %blue_fg_strong%^| ^> / Home / Troubleshooting ^& Support / Discord Servers ^|%reset%
echo %blue_fg_strong% ==============================================================%reset%
echo %cyan_fg_strong% ______________________________________________________________%reset%
echo %cyan_fg_strong%^| Discord - LLM Backends: ^|%reset%
echo 1. Join SillyTavern
echo 2. Join TabbyAPI
echo 3. Join KoboldAI
echo 4. Join Text Generation WEBUI ooba
echo %cyan_fg_strong% ______________________________________________________________%reset%
echo %cyan_fg_strong%^| Discord - Cloud API: ^|%reset%
echo 5. Join Mancer
echo 6. Join OpenRouter
echo 7. Join AI Horde
echo %cyan_fg_strong% ______________________________________________________________%reset%
echo %cyan_fg_strong%^| Discord - Model Devs ^& Research: ^|%reset%
echo 8. Join TheBloke
echo 9. Join PygmalionAI
echo 10. Join Nous Research
echo 11. Join RWKV
echo 12. Join EleutherAI
echo %cyan_fg_strong% ______________________________________________________________%reset%
echo %cyan_fg_strong%^| Menu Options: ^|%reset%
echo 0. Back
echo %cyan_fg_strong% ______________________________________________________________%reset%
echo %cyan_fg_strong%^| ^|%reset%
REM Set the prompt with spaces
set /p "discord_servers_choice=%BS% Choose Your Destiny: "
REM ############## UPDATE MANAGER - BACKEND ####################
if "%discord_servers_choice%"=="1" (
call :discord_sillytavern
) else if "%discord_servers_choice%"=="2" (
call :discord_tabbyapi
) else if "%discord_servers_choice%"=="3" (
call :discord_koboldai
) else if "%discord_servers_choice%"=="4" (
call :discord_textgenwebuiooba
) else if "%discord_servers_choice%"=="5" (
call :discord_mancer
) else if "%discord_servers_choice%"=="6" (
call :discord_openrouter
) else if "%discord_servers_choice%"=="7" (
call :discord_aihorde
) else if "%discord_servers_choice%"=="8" (
call :discord_thebloke
) else if "%discord_servers_choice%"=="9" (
call :discord_pygmalionai
) else if "%discord_servers_choice%"=="10" (
call :discord_nousresearch
) else if "%discord_servers_choice%"=="11" (
call :discord_rwkv
) else if "%discord_servers_choice%"=="12" (
call :discord_eleutherai
) else if "%discord_servers_choice%"=="0" (
exit /b 0
) else (
echo [%DATE% %TIME%] %log_invalidinput% >> %logs_stl_console_path%
echo %red_bg%[%time%]%reset% %echo_invalidinput%
pause
goto :discord_servers_menu
)
:discord_sillytavern
start "" "https://discord.gg/sillytavern"
goto :discord_servers_menu
:discord_tabbyapi
start "" "https://discord.gg/sYQxnuD7Fj"
goto :discord_servers_menu
:discord_koboldai
start "" "https://discord.gg/UCyXV7NssH"
goto :discord_servers_menu
:discord_textgenwebuiooba
start "" "https://discord.gg/jwZCF2dPQN"
goto :discord_servers_menu
:discord_mancer
start "" "https://discord.gg/6DZaU9Gv9F"
goto :discord_servers_menu
:discord_openrouter
start "" "https://discord.gg/H9tjZYgauh"
goto :discord_servers_menu
:discord_aihorde
start "" "https://discord.gg/3DxrhksKzn"
goto :discord_servers_menu
:discord_thebloke
start "" "https://discord.gg/Jq4vkcDakD"
goto :discord_servers_menu
:discord_pygmalionai
start "" "https://discord.gg/pygmalionai"
goto :discord_servers_menu
:discord_nousresearch
start "" "https://discord.gg/jqVphNsB4H"
goto :discord_servers_menu
:discord_rwkv
start "" "https://discord.gg/bDSBUMeFpc"
goto :discord_servers_menu
:discord_eleutherai
start "" "https://discord.gg/zBGx3azzUn"
goto :discord_servers_menu