Haidra-Org / AI-Horde-Worker

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

disable_terminal_ui does not seem to work #308

Open rondlite opened 11 months ago

rondlite commented 11 months 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 11 months ago
rondlite commented 11 months 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 11 months 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 11 months 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