unsloth/studio/backend
Daniel Han b60b0740c2 Tighten comments across PR 5711 (no behaviour change)
Comments-only pass. Drops verbose docstrings to single-line form,
removes repetitive "null = unset" / "Local only" tails (already
encoded by the type signature and capability map), keeps every
authoritative source URL but cuts surrounding prose, and removes
fully-redundant per-field comments where the field name already
says what the comment says.

Touches:
  - types/runtime.ts (InferenceParams)
  - types/api.ts (OpenAIChatCompletionsRequest wire shape)
  - provider-capabilities.ts (ProviderCapabilities interface + bucket
    inline blocks + per-model resolvers + reasoning helpers)
  - api/chat-adapter.ts (external + local forwarding stanzas)
  - backend models/inference.py (Field descriptions)
  - backend llama_cpp.py (3rd payload-builder inline comments)
  - backend routes/inference.py (_build_passthrough_payload)
  - backend external_provider.py (4.7 sampling-removed header,
    _is_openai_family_cloud docstring)

Net 508 lines deleted across 8 files; 65/65 sampling_params_routing
tests still pass; frontend tsc clean.
2026-05-27 11:14:45 +00:00
..
assets Add Qwen3.6 inference defaults for Studio (#5065) 2026-04-16 11:42:42 -07:00
auth studio: security and hardening pass (auth rate-limit, sandbox, path containment, schema validation, headers) (#5375) 2026-05-13 06:12:18 -07:00
core Tighten comments across PR 5711 (no behaviour change) 2026-05-27 11:14:45 +00:00
loggers Studio: stop truncating long log lines as suspected base64 (#5335) 2026-05-08 13:07:18 +04:00
models Tighten comments across PR 5711 (no behaviour change) 2026-05-27 11:14:45 +00:00
plugins fix(gh_client): fail fast on 401/403 auth errors instead of retrying forever (#5325) (#5329) 2026-05-08 21:57:41 +04:00
requirements Fix unsloth studio update silently downgrading on macOS arm64 (#5767) 2026-05-26 07:23:13 -07:00
routes Tighten comments across PR 5711 (no behaviour change) 2026-05-27 11:14:45 +00:00
state unsloth run: add --enable-tools/--disable-tools server-side tool policy (#5277) 2026-05-05 12:45:15 +04:00
storage Studio: persist chat history in backend storage (#5272) 2026-05-22 06:18:05 -07:00
tests Expand local-backend coverage further: 10 more knobs from vLLM + llama.cpp live docs (PR #5711) 2026-05-27 07:41:25 +00:00
utils Fix unsloth studio update silently downgrading on macOS arm64 (#5767) 2026-05-26 07:23:13 -07: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: stop seeded admin to cross-origin callers (#5739) 2026-05-25 23:36:51 -07:00
run.py Studio: auto-recover when shadowed 'unsloth' on PATH hides the frontend dist (#5782) 2026-05-26 05:29:42 -07:00
startup_banner.py Studio: stop hint, Uvicorn log rename, reachability check + Mac UI CI retry hardening (#5503) 2026-05-17 07:44:06 -07:00