mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 15:28:40 +00:00
The effort's instruction is the first thing the template renders, so a request that only changes reasoning_effort (or turns thinking off) read the whole prompt again. With "effort_position": "end" in the run config the server renders every prompt's start as the default effort's and puts a low/medium effort in a short system turn right before the answer (thinking off: just the template's empty thinking block); the rendering is template-agnostic (history + turn + the generation prompt). Engine: --tail-role-token ID (default -1, off) moves the turn checkpoint in front of such a trailing turn, so it holds the conversation and not the effort text; INFO reports tail_role_token. The server passes the id of "system" only when the engine binary knows the flag, and says so when it does not. Without the key nothing changes: the same prompt ids, no flag.