Repository navigation
feat(agent): show what the agent is doing while a turn takes long - #206
Merged
Merged
Conversation
A turn that needs a search, a page and a list takes Stacky up to a
minute, and the typing indicator alone reads as "stuck". nanobot's own
tool hints read like a shell (`$ stack memory list show ...`) and its
compaction notice ("Compressing context…") came out of nowhere.
A turn not answered within six seconds now gets one status message
that grows a line as Stacky moves on: looking something up, looking
closer, writing it down, sorting its thoughts and notes, still on it.
At most one line every ten seconds, picked from a few per step so it
does not repeat itself, in the household's language. The answer comes
as a message of its own and the status stays above it as a trace of
what Stacky did. The status is a notice, which Matrix does not notify
about, so only the answer buzzes a phone.
nanobot's tool hints are switched on again as the signal for this and
never reach the chat themselves; a compaction between turns, when
nobody is waiting, is not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rig check: a one-minute turn showed four lines at 6, 16, 36 and 46 s, then the answer at 60 s.