mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-01 08:21:50 +08:00
feat: fix img pasting in new ink plus newline after tools
This commit is contained in:
@@ -39,6 +39,7 @@ export const compactPreview = (s: string, max: number) => {
|
||||
export const buildToolTrailLine = (name: string, context: string, error?: boolean): string => {
|
||||
const label = TOOL_VERBS[name] ?? name
|
||||
const mark = error ? '✗' : '✓'
|
||||
|
||||
return `${label}${context ? ': ' + compactPreview(context, 72) : ''} ${mark}`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user