unsloth/studio/backend/routes
Daniel Han aa0db1ff5b
fix(studio): don't double-quote the reset-password hint for spaced paths (#5975)
Addresses review feedback on #5971. _reset_password_command() already
shell-quotes the launcher path on POSIX (shlex.quote), so wrapping the result in
another pair of single quotes in the error string produced a mangled hint for
installs / home dirs containing spaces, e.g.

  Run ''/tmp/Unsloth Studio/.../unsloth' studio reset-password' in your terminal

which a shell mis-parses. Drop the outer quotes and put the command at the end of
the message so it is unambiguous and copy-pasteable in every case:

  Incorrect password. To reset it, run this in your terminal: <cmd>

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 06:10:23 -07:00
..
data_recipe Configurable upload Cap studio (for training) (#5808) 2026-06-02 08:52:19 -07:00
.gitkeep root studio folder 2026-02-02 09:13:49 +00:00
__init__.py Studio: add remote MCP server support (#5750) 2026-05-27 07:01:11 -07:00
auth.py fix(studio): don't double-quote the reset-password hint for spaced paths (#5975) 2026-06-03 06:10:23 -07:00
chat_history.py Studio: manage chat history with projects (#5725) 2026-06-01 22:09:16 +04:00
datasets.py Configurable upload Cap studio (for training) (#5808) 2026-06-02 08:52:19 -07:00
export.py studio: security and hardening pass (auth rate-limit, sandbox, path containment, schema validation, headers) (#5375) 2026-05-13 06:12:18 -07:00
inference.py Studio: manage chat history with projects (#5725) 2026-06-01 22:09:16 +04:00
mcp_servers.py Studio: clearer MCP server validation when stdio is disabled (#5928) 2026-06-01 08:19:20 -07:00
models.py Fix /recommended-folders 500 on unreadable model directories (Python 3.12+) (#5523) 2026-05-18 00:16:14 +04:00
providers.py Studio: add Gemini provider with web_search, code_execution, prompt caching, and Nano Banana image generation (#5720) 2026-05-27 06:01:24 -07:00
settings.py Configurable upload Cap studio (for training) (#5808) 2026-06-02 08:52:19 -07:00
training.py Studio: expose image size setting in training UI (#5743) 2026-05-27 05:01:24 -07:00
training_history.py Studio: Dark theme refactor, right sidebar redesign, and chat UI polish (#5150) 2026-05-07 14:33:31 +04:00