unsloth/studio/backend
Daniel Han 1add4dbd0e Tighten comments across PR 5711 (no behaviour change)
Audited every comment added by this PR; condensed multi-paragraph
docstrings and inline blocks to 1-2 lines where the WHY survives.

Files touched: 6 backend + 7 frontend. Net -148 lines.
- external_provider.py: -80 (docstring + stop_sequences + compaction)
- chat-settings-sheet.tsx: -70 (InfoHint tooltips + section headers)
- routes/inference.py: -54 (parallel_tool_calls cap comments)
- provider-capabilities.ts: -108 (stop-cap table, gemini bucket,
  service_tier resolver, max-output cap header)
- chat-adapter.ts: -27 (sampling forwarding stanza)
- providers.py: -24 (kimi reasoning class, deepseek aliases)
- llama_cpp.py: -24 (payload builder shared header)
- models/inference.py: -28 (Pydantic Field descriptions)
- chat-settings-storage.ts: -23 (nullable handling comments)
- stop-sequences-input.tsx: -23 (JSDoc + chip-key + draft-commit)
- anthropic_compat.py: -9 (serial tool-call gate)
- types/runtime.ts: -12 (DRY JSDoc, null convention header)
- types/api.ts: -6 (service_tier JSDoc)

Tightening rules applied:
- Removed em-dashes everywhere a comment was rewritten.
- Kept every external doc URL (Anthropic, OpenAI, vLLM, llama.cpp,
  Ollama, OpenRouter, Mistral, DeepSeek, Gemini, Kimi).
- Collapsed "silently dropped on unsupported routes" prose since the
  bucket-comment at the top of each capability table already states it.
- Removed restated rationale prose in comment blocks where the field
  name plus the master rule already encodes the WHY.

393/393 backend tests pass (test_sampling_params_routing 65, plus
anthropic / openai / gemini / llama-server suites). Frontend tsc +
vite build clean.
2026-05-27 14:32:11 +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 14:32:11 +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 14:32:11 +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 Studio: add remote MCP server support (#5750) 2026-05-27 07:01:11 -07:00
routes Tighten comments across PR 5711 (no behaviour change) 2026-05-27 14:32:11 +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: add remote MCP server support (#5750) 2026-05-27 07:01:11 -07:00
tests Merge remote-tracking branch 'origin/feat/expose-sampling-params-core' into pr-5711-head 2026-05-27 14:14:31 +00:00
utils Studio: add configurable CPU thread pool limit (#5760) 2026-05-27 05:09:34 -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: add remote MCP server support (#5750) 2026-05-27 07:01:11 -07:00
run.py Studio: add configurable CPU thread pool limit (#5760) 2026-05-27 05:09:34 -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