detached a373e82

style: drop em-dashes from output-token-budget strings/comments

Co-authored-by: Raymond Gasper <raymondgasper@fastmail.com>
commit
a373e828965db386a7ac674bccd3bb230796ec0d
author
patriceckhart · · 2026-06-09 16:38 UTC
parent
3cf22fc
signature
unsigned
2 files · +3 -3
M packages/agent/modes/interactive.go +2 -2
@@ -4659,11 +4659,11 @@ func (i *Interactive) handleEvent(ev core.AgentEvent) {
46594659 if e.Stop == provider.StopLength {
46604660 // The model hit its output-token cap mid-response, so the
46614661 // reply (often a long write/edit) is truncated. Surface it
4662- // explicitly — otherwise the turn just ends and reads like
4662+ // explicitly, otherwise the turn just ends and reads like
46634663 // the UI gave up. The agent already requests the model's
46644664 // full MaxOutput budget, so this means the response genuinely
46654665 // exceeded that ceiling; ask the user to continue.
4666- i.statusErr = "response hit the model's output-token limit and was cut off — ask it to continue"
4666+ i.statusErr = "response hit the model's output-token limit and was cut off, ask it to continue"
46674667 i.statusOK = ""
46684668 return
46694669 }
@@ -4659,11 +4659,11 @@ func (i *Interactive) handleEvent(ev core.AgentEvent) {
4659 if e.Stop == provider.StopLength {4659 if e.Stop == provider.StopLength {
4660 // The model hit its output-token cap mid-response, so the4660 // The model hit its output-token cap mid-response, so the
4661 // reply (often a long write/edit) is truncated. Surface it4661 // reply (often a long write/edit) is truncated. Surface it
4662- // explicitly — otherwise the turn just ends and reads like4662+ // explicitly, otherwise the turn just ends and reads like
4663 // the UI gave up. The agent already requests the model's4663 // the UI gave up. The agent already requests the model's
4664 // full MaxOutput budget, so this means the response genuinely4664 // full MaxOutput budget, so this means the response genuinely
4665 // exceeded that ceiling; ask the user to continue.4665 // exceeded that ceiling; ask the user to continue.
4666- i.statusErr = "response hit the model's output-token limit and was cut off — ask it to continue"4666+ i.statusErr = "response hit the model's output-token limit and was cut off, ask it to continue"
4667 i.statusOK = ""4667 i.statusOK = ""
4668 return4668 return
4669 }4669 }
M packages/core/agent.go +1 -1
@@ -24,7 +24,7 @@ type Agent struct {
2424
2525 // MaxTokens caps the model's output tokens per turn. Zero leaves
2626 // the field unset on the provider request, letting each provider
27- // apply its own default (which can be conservative — Bedrock
27+ // apply its own default (which can be conservative, e.g. Bedrock
2828 // defaults to 4096, truncating long writes/edits). Hosts populate
2929 // this from the resolved model's MaxOutput so large single-turn
3030 // responses aren't silently cut off with stopReason=length.
@@ -24,7 +24,7 @@ type Agent struct {
24 24
25 // MaxTokens caps the model's output tokens per turn. Zero leaves25 // MaxTokens caps the model's output tokens per turn. Zero leaves
26 // the field unset on the provider request, letting each provider26 // the field unset on the provider request, letting each provider
27- // apply its own default (which can be conservative — Bedrock27+ // apply its own default (which can be conservative, e.g. Bedrock
28 // defaults to 4096, truncating long writes/edits). Hosts populate28 // defaults to 4096, truncating long writes/edits). Hosts populate
29 // this from the resolved model's MaxOutput so large single-turn29 // this from the resolved model's MaxOutput so large single-turn
30 // responses aren't silently cut off with stopReason=length.30 // responses aren't silently cut off with stopReason=length.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 476

↑↓ moveenter openesc close