mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
chore(tui): strip noise comments
This commit is contained in:
parent
7f1204840d
commit
ca30803d89
9 changed files with 2 additions and 60 deletions
|
|
@ -167,13 +167,10 @@ export function createGatewayEventHandler(ctx: GatewayEventHandlerContext): (ev:
|
|||
patchUiState(state => ({
|
||||
...state,
|
||||
info,
|
||||
// agent just came online → flip the 'starting agent…' placeholder.
|
||||
// leave running/interrupted/error statuses alone.
|
||||
status: state.status === 'starting agent…' ? 'ready' : state.status,
|
||||
usage: info.usage ? { ...state.usage, ...info.usage } : state.usage
|
||||
}))
|
||||
|
||||
// upgrade the seeded/partial intro row in-place with the real info
|
||||
setHistoryItems(prev => prev.map(m => (m.kind === 'intro' ? { ...m, info } : m)))
|
||||
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue