OpenGUI icon indicating copy to clipboard operation
OpenGUI copied to clipboard

Backend starts without model env, but the first real task fails later

Open hazelscot opened this issue 3 months ago • 1 comments

The backend starts even when model env vars are missing. That's fine, and it makes sense that docs/API can still come up.

The confusing part is that the first real task fails later, and the error does not immediately tell me which model env var is missing. It would be clearer if task execution said something like: backend is running, but task execution still needs VLM_API_KEY, VLM_BASE_URL, and VLM_MODEL.

hazelscot avatar Aug 30 '26 17:08 hazelscot

@hazelscot Fixed and merged in #115. The backend can still start without model configuration. When a task needs the model, it now reports all missing or whitespace-only settings (VLM_API_KEY, VLM_BASE_URL, VLM_MODEL) and points to server/apps/backend/.env, instead of returning a generic planning failure.

VLM_BASE_URL is now required for model execution; .env.example already supplies the default URL and model name. Please update to the latest main and restart the backend.

Validated with 62 relevant tests, TypeScript checks, and the server build. Thank you for reporting this!

Xumomo7077 avatar Oct 05 '26 03:10 Xumomo7077