SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
563 stars 133 forks source link

start_command error when launching SillyTavern + Extra on Windows #212

Closed Greanibak closed 10 months ago

Greanibak commented 10 months ago

Hello guys,

With SillyTavern 1.11.1 'release' (736223a8), I encountered a bug when launching SillyTavern Extras using launcher.bat, specifically with command 3. The CMD window would open but then end with an error related to the start_command not being defined. I noticed that the SillyTavern launcher.bat was sourcing the modules.txt not from the "SillyTavern-extras" folder but from the SillyTavern root folder. Moreover, even the modules.txt in the SillyTavern folder doesn't seem to work on Windows, as it lacks the "start_command" at the beginning, as well as the server.py. The parsing intended by the code doesn't seem to function.

I resolved this on my end by editing the modules.txt file in the root folder and adding the complete API server launch command with the start_command: start_command=python server.py --enable-modules=chromadb --listen (in my case, I only want listen and chromadb).

Did I miss something on my end, or is this a problem encountered by others as well? Thank you.