- Surface llama.cpp parallel slots via context_slots and a warning instead of treating n_ctx as the per-request window - Pass max_completion_tokens into detection previews and warn when the output cap is clamped - Clamp the effective budget to the window and use the assumed local window when clamping output - Overwrite a stale window on explicit auto-detect so the preview matches the saved value - Keep the budget-warning test repeatable and document failover/budget semantics |
||
|---|---|---|
| .. | ||
| context.go | ||
| context_test.go | ||