Files
CyberStrikeAI/internal
Sycun 8b74b33eee fix(ai): harden local context detection and budget previews
- 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
2026-10-21 09:47:03 +08:00
..
2026-08-18 20:31:48 +08:00
2026-08-18 20:36:34 +08:00
2026-08-18 20:17:38 +08:00
2026-08-18 20:36:34 +08:00
2026-08-18 20:36:34 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:17:38 +08:00
2026-08-18 20:17:38 +08:00
2026-08-18 20:31:48 +08:00
2026-08-18 20:36:34 +08:00
2026-08-18 20:36:34 +08:00