Haidra-Org / AI-Horde-Worker

This repo turns your PC into a AI Horde worker node
GNU Affero General Public License v3.0
249 stars 71 forks source link

disable_terminal_ui does not seem to work #308

Open rondlite opened 1 year ago

rondlite commented 1 year ago

disable_terminal_ui in bridgeData.yaml does not seem to do anything.

I get the UI no matter what, I also tried setting HORDE_DISABLE_TERMINAL_UI env var, with no luck.

As a result I can not background the process.

tazlin commented 1 year ago
rondlite commented 1 year ago
  • What values for disable_terminal_ui in bridgeData.yaml have you tried?
  • What values for HORDE_DISABLE_TERMINAL_UI have you tried?
  • Are other configuration options working?
  • What OS is this?
tazlin commented 1 year ago

I don't see a readily apparent reason, but I made a minor change that might help. If you git pull and try again, and it still happens, I will investigate more.

rondlite commented 1 year ago

It did not fix it, I ended up doing quick dirty fix since needed to get my workers back online. After however I found this line:

https://github.com/Haidra-Org/AI-Horde-Worker/blob/5cfa9b0b088a76993fc2022a7f3e3d30d69ac476/worker/bridge_data/framework.py#L46

which disables the terminal ui when the env var is false, logic is reversed here