unsloth/studio/backend
Roland Tannous 659b08866e feat: backend API key auth + access-endpoint route for external OpenAI-compatible access
- Auto-generate sk-unsloth-* API key on model load, clear on unload
- Add dual-auth dependency: accepts JWT (Studio UI) or API key (external consumers)
- Relax auth on /v1/chat/completions and /v1/models to accept API key
- Add GET /api/inference/access-endpoint returning key, local URL, and external URL
- Store bind_host in app.state for external IP resolution
- Frontend dialog fetches key from backend, shows local + network URLs
2026-04-09 01:23:36 +00:00
..
assets Add Gemma 4 model sampling defaults (#4838) 2026-04-03 13:57:15 -07:00
auth feat: backend API key auth + access-endpoint route for external OpenAI-compatible access 2026-04-09 01:23:36 +00:00
core build(deps): bump oxc-parser (#4776) 2026-04-08 03:35:33 -07:00
loggers Final cleanup 2026-03-12 18:28:04 +00:00
models studio: add speculative decoding support (ngram-mod, on by default) (#4836) 2026-04-03 13:56:59 -07:00
plugins Bump Data Designer to 0.5.4 (removes litellm dependency) (#4569) 2026-03-25 02:01:43 -07:00
requirements Pin transformers and huggingface-hub in main Studio venv (#4788) 2026-04-02 09:21:30 -07:00
routes feat: backend API key auth + access-endpoint route for external OpenAI-compatible access 2026-04-09 01:23:36 +00:00
state Final cleanup 2026-03-12 18:28:04 +00:00
storage feat: custom scan folders for GGUF model discovery (#4723) 2026-03-31 06:40:31 -07:00
tests split venv_t5 into tiered 5.3.0/5.5.0 and fix trust_remote_code (#4878) 2026-04-07 20:05:01 +04:00
utils split venv_t5 into tiered 5.3.0/5.5.0 and fix trust_remote_code (#4878) 2026-04-07 20:05:01 +04:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
_platform_compat.py Fix Studio crash on Anaconda/conda-forge Python (#4484) 2026-03-22 05:36:55 -07:00
colab.py Fix/studio colab button message: Add fallback message for Colab Studio button when proxy URL fails (#4866) 2026-04-05 21:57:45 -07:00
main.py studio: Polish Windows installer/setup logs (#4736) 2026-03-31 23:12:42 -07:00
run.py feat: backend API key auth + access-endpoint route for external OpenAI-compatible access 2026-04-09 01:23:36 +00:00
startup_banner.py studio: unify Windows installer/setup logging style, verbosity controls, and startup messaging (#4651) 2026-03-30 00:53:23 -07:00