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.
|
||
|---|---|---|
| .. | ||
| data_recipe | ||
| export | ||
| inference | ||
| training | ||
| __init__.py | ||
| tool_healing.py | ||