Skip to content

Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.

Show no agent controls when the installation token cannot be prepared

Bowen Xue30323657acc9
diff --git a/freevideo_engine/agent/routes.py b/freevideo_engine/agent/routes.py
index d89c10e..98dc5ce 100644
--- a/freevideo_engine/agent/routes.py
+++ b/freevideo_engine/agent/routes.py
@@ -613,8 +613,11 @@ def register():
# Unauthenticated: tells a client where to look, reveals nothing else.
from ..comfy_bridge import installation_root
from .guide import connection_discovery
- return reply(connection_discovery(installation_root(), request.scheme + '://' + request.host,
- request[query_key].get('lang')))
+ root = installation_root()
+ if root in token_failures:
+ # No token this startup: the same single answer as when it is off, so the page shows no agent controls.
+ return reply({'enabled': False})
+ return reply(connection_discovery(root, request.scheme + '://' + request.host, request[query_key].get('lang')))
@routes.get('/freevideo/agent/session')
@guarded