mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-02 02:01:47 +00:00
chore: fmt
This commit is contained in:
parent
4b026d6761
commit
e03bef684e
5 changed files with 50 additions and 33 deletions
|
|
@ -54,8 +54,7 @@ export const buildToolTrailLine = (name: string, context: string, error?: boolea
|
|||
export const isToolTrailResultLine = (line: string) => line.endsWith(' ✓') || line.endsWith(' ✗')
|
||||
|
||||
/** Ephemeral status lines that should vanish once the next phase starts. */
|
||||
export const isTransientTrailLine = (line: string) =>
|
||||
line.startsWith('drafting ') || line === 'analyzing tool output…'
|
||||
export const isTransientTrailLine = (line: string) => line.startsWith('drafting ') || line === 'analyzing tool output…'
|
||||
|
||||
/** Whether a persisted/activity tool line belongs to the same tool label as a newer line. */
|
||||
export const sameToolTrailGroup = (label: string, entry: string) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue