r/LocalLLaMA • u/Regular-Register-358 • 27d ago
Discussion YSK: Strata and polystrata have this functionality called answer_room
With default settings and thinking on and max_tokens ≥ 1024, and no explicit reasoning_budget_tokens, Strata / PolyStrata has a behavior called answer_room which will silently cap thinking at 0.75. * max_tokens and inject a "wrap-up" line in the model's head in its own voice, saying
I have thought about this long enough; time to give my answer. + </think>
It then continues the same reply from there. The client (harness, you or I) gets no error, flag or finish reason for this, and often no log.
This matters when you compare between strata and other engines : models served by strata had "nudges" in the form of its inner voice, and such extra text in the transcript. In some cases the nudge line is injected mid thinking, quite abruptly and it is hard to tell whether it helps or harms.
Strata main @ c62d5e3
Wrap-up message: https://github.com/Niko1221/Strata/blob/c62d5e3a15b40ea51c96aae9e8d36928965f53ab/serve/server.py#L225
Trigger (the 3/4 budget): https://github.com/Niko1221/Strata/blob/c62d5e3a15b40ea51c96aae9e8d36928965f53ab/serve/server.py#L5491
Injection point: https://github.com/Niko1221/Strata/blob/c62d5e3a15b40ea51c96aae9e8d36928965f53ab/serve/server.py#L5848
Default on (answer_room = True): https://github.com/Niko1221/Strata/blob/c62d5e3a15b40ea51c96aae9e8d36928965f53ab/serve/server.py#L4181
I noticed this when a model that tends to have long front-loaded thinking on dgx spark gave slightly but uniformly shorter answers (and task performance worsened in my hard problems), when served on polystrata.
PS, I had sonnet audit all cases of cut and injection, and here is what it reportes back ( sonnet called it "splice"):
Where it lands:
- At a natural break: 6 (9%).
- Inside a repetition loop (for example HashMap.new()? repeated for 30K–118K characters): 15 (22%).
Intrusive: 48 (70%, or 89% of the cases that weren't loops):
- mid-sentence: 28
- mid-number or mid-expression ("Mod 9982 |cut|"): 13
- inside code (one cut right after def solve():): 4
- mid-word: 3
Harm:
What didn't break: no reply re-opened thinking after a splice, and all 79 tool calls after a splice completed normally.
Lost reasoning: 26 of the 30 splices that came in a task's first reply were followed by a generic fresh start (ls /app). The 61K tokens of thinking left no trace in what came next.
Clear harm in 6 cases: the reply ended with no action at all, and all 6 tasks failed.
Qwen3.6, task 3674: cut at "Where right_prefix_max |cut|", and the only output afterwards was "Integrity notice: yes".
Flash-Next IQ2_XS, arc190_c: the same pattern.
A dropped conclusion: Qwen3.6, arc192_b, was cut right after "I think the answer is:", and the model then guessed.
Loops: the splice did break them, but those tasks still failed.
17
u/Borkato 27d ago
Lmao I have --reasoning-budget-message turned on all the time in llama.cpp so that makes sense lol
16
u/rskjr 27d ago
fascinating. I don't think the inference engine should be doing this/making this choice for the user. I'm going to check this behavior in my fork of PolyStrata.
4
u/MarcelloT254k 27d ago
I suggest you make an issue in the official repo with your findings, so it becomes public.
2
u/FatheredPuma81 27d ago
Can anyone tell me if it's normal that the model also seems pretty obsessed about how much Context it has left? I've been wondering if Strata or DSH injects a low context warning at random points or if it's just trained to estimate how much context it has. It gets really annoying when I look back at my loop to see that it stopped the Goal after thinking it had 5k context left for like 3 loops...
1
u/CatzRuleZWorld 27d ago
Seems very useful. Worst thing is when it silently overflows max output and just wastes all that thinking with an error.
-7
u/Dabalam 27d ago
Doesn't seem like a big deal at all. This seems to be standard behaviour to dull the overthinking which can damage certain tasks. Seems trivial turn off. This isn't like selecting the wrong experts (which seems like actual engine choices degrading quality), it's closer to a system prompt.