Skip to content

Flash sends effort=low — omit still thinks; stream -p hang fix - #671

Merged
cursor[bot] merged 7 commits into
release/v0.0.281from
cursor/glm-tools-first-4ffc
Aug 29, 2026
Merged

Flash sends effort=low — omit still thinks; stream -p hang fix#671
cursor[bot] merged 7 commits into
release/v0.0.281from
cursor/glm-tools-first-4ffc

Conversation

@justrach

@justrach justrach commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Follow-up to ADR 0045 / the 281 GLM row. The wall gap with Pi was not Zig vs JS.

Trendshift README is already on main via #672.

Why wall was 2× Pi

json-stream’s third call streamed 1.9MB of reasoning_content in 212s. Omitting reasoning_effort still bills thinking: a pong was 27 reasoning_tokens. thinking: {type: disabled} still thinks. reasoning_effort: low bills 0. none is a 400.

Pi’s models.json sets reasoning: false. We now send low for the flash / Gemini default. /effort high still sends high. Same 8-tool keep-list.

Also in this PR

  • Root -p uses postLive so a hung POST dies on the 30s head-stall, not a 5-minute postWatched.
  • Compact lean descriptions. Catalog glm-5.3-flash. No call-2 stdout pulse.

ADR 0046.

Confirm (run-20260829-045547.jsonl)

pass wall (sum) out calls
Pi (ADR 0045) 5/6 758s 27k 35
graff omit 4/6 1311s 29k 26
graff low 5/6 286s 4.7k 38

Same miss as Pi (label-sort). cookie-store 115s (Pi 301s). json-stream 36s (Pi 117s). Do not steal Pi’s heap or four-tool catalog.

Open in Web Open in Cursor 

Pi's glm-5.3-flash SWE first/wall win was no thinking, not four tools.
Codegraff takes_effort sent default medium on every flash request —
seconds of silent TTFT and 3–7k thinking tokens (ADR 0045 timeouts).

Same Gemini skip, now any *flash* name. Lean -p shortens tool prose
only. Catalog glm-5.3-flash. Do not shrink the keep-list (ADR 0024).
Eval first=6.7s was turn chrome on stdout at model call 2, not boot
(boot is 7ms; gateway TTFT is ~6s). Drop the pulse when unattended
so stdout stays the answer, and print `calling <model>` on stderr
at oneshot start — same class of signal as Pi's session JSON.
justrach/codegraff is repository 84216 on trendshift.io.
json-stream and cookie-store SIGKILL'd at 300s because -p gated live
transport on out!=null. A hung/5xx second call sat in postWatched until
the deadline, then retried, then the eval cap killed the process.

Root one-shots now postLive so the 30s head-stall fires. Paint stays
off (out=null / stream_quiet). graff-dev also caps postWatched at 90s
for subagents.
@cursor cursor Bot changed the title Omit default thinking on flash — that was the 6.9s first Omit default thinking on flash; stream -p so hangs die in 30s Aug 29, 2026
json-stream passed (280s). cookie-store / label-sort still hit the
300s cap on live streams, not the old 5-minute watched POST.
Codegraff glm-5.3-flash bills reasoning_tokens when reasoning_effort
is absent (27 on a pong; SWE streamed 1.9MB reasoning_content).
thinking.disabled still thinks. low bills 0. none is a 400.

That is the wall gap with Pi, not Zig vs JS. /effort high still
sends high. Do not shrink the keep-list.
@cursor cursor Bot changed the title Omit default thinking on flash; stream -p so hangs die in 30s Flash sends effort=low — omit still thinks; stream -p hang fix Aug 29, 2026
Beats Pi's 758s on the same model. Same miss (label-sort). Out tokens
29k → 4.7k — the wall was thinking novels, not Zig vs JS.
cursor Bot pushed a commit that referenced this pull request Aug 29, 2026
GLM SWE 5/6 in 286s vs Pi 758s. Same miss (label-sort). No tag.
@cursor
cursor Bot merged commit e4cd27c into release/v0.0.281 Aug 29, 2026
6 checks passed
@cursor
cursor Bot deleted the cursor/glm-tools-first-4ffc branch August 29, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants