- 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 |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||