unsloth/studio/backend/models
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
..
.gitkeep fix: restore models directory files deleted during restructure 2026-02-02 19:36:30 +00:00
__init__.py Studio: Dark theme refactor, right sidebar redesign, and chat UI polish (#5150) 2026-05-07 14:33:31 +04:00
auth.py studio: security and hardening pass (auth rate-limit, sandbox, path containment, schema validation, headers) (#5375) 2026-05-13 06:12:18 -07:00
data_recipe.py feat(studio): multi-file unstructured seed upload with better backend extraction (#4468) 2026-03-20 13:22:42 -07:00
datasets.py Final cleanup 2026-03-12 18:28:04 +00: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 Tighten comments across PR 5711 (no behaviour change) 2026-05-27 14:32:11 +00:00
mcp_servers.py Studio: add remote MCP server support (#5750) 2026-05-27 07:01:11 -07:00
models.py Studio: add folder browser modal for Custom Folders (#5035) 2026-04-15 08:04:33 -07:00
providers.py Studio: make API key optional for local providers (llama.cpp/vLLM/Ollama) (#5457) 2026-05-15 23:33:22 +04:00
responses.py Final cleanup 2026-03-12 18:28:04 +00:00
training.py Studio: expose image size setting in training UI (#5743) 2026-05-27 05:01:24 -07:00
users.py fix: remove old comments (#4292) 2026-03-14 16:50:13 +04:00