From fb9e023381bf9890e8f13dd43e91ec257507ca86 Mon Sep 17 00:00:00 2001 From: Max Hsu Date: Mon, 15 Jun 2026 14:38:08 +0800 Subject: [PATCH] fix(cookbook): point HF token hint at Cookbook -> Settings, not Settings -> Cookbook (#3864) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'HF token: NOT SET' shell hint shown when downloading a gated/private model told users to add a token under 'Odysseus Settings -> Cookbook -> HuggingFace Token'. There is no Cookbook section under the app Settings; the HuggingFace Token field lives under the Cookbook page's Settings tab (static/js/cookbook.js — data-backend="Settings" group). Following the old hint led nowhere. Reverse the path to match the real UI. Fixes #3829 Co-authored-by: Claude Fable 5 --- routes/cookbook_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/cookbook_routes.py b/routes/cookbook_routes.py index cf75e7ae4..6a20b371f 100644 --- a/routes/cookbook_routes.py +++ b/routes/cookbook_routes.py @@ -58,7 +58,7 @@ _HF_TOKEN_STATUS_SNIPPET = ( 'echo "[odysseus] HF token: applied"; ' 'else ' 'echo "[odysseus] HF token: NOT SET — gated/private models will be denied. ' - 'Add one in Odysseus Settings -> Cookbook -> HuggingFace Token."; ' + 'Add one in Odysseus Cookbook -> Settings -> HuggingFace Token."; ' 'fi' )