mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
chore: readme update
This commit is contained in:
parent
29f2610e4b
commit
d9d0ac06b9
7 changed files with 281 additions and 140 deletions
|
|
@ -479,6 +479,16 @@ export function App({ gw }: { gw: GatewayClient }) {
|
|||
die()
|
||||
}
|
||||
|
||||
if (key.ctrl && ch === 'l') {
|
||||
setStatus('forging session…')
|
||||
newSession()
|
||||
return
|
||||
}
|
||||
|
||||
if (key.ctrl && ch === 'v') {
|
||||
paste()
|
||||
return
|
||||
}
|
||||
|
||||
if (key.ctrl && ch === 'g') {
|
||||
return openEditor()
|
||||
|
|
@ -586,7 +596,6 @@ export function App({ gw }: { gw: GatewayClient }) {
|
|||
case 'tool.start': {
|
||||
const ctx = (p.context as string) || ''
|
||||
setTools(prev => [...prev, { id: p.tool_id, name: p.name, context: ctx }])
|
||||
appendMessage({ role: 'tool', text: `${TOOL_VERBS[p.name] ?? p.name}${ctx ? ' ' + ctx : ''}` })
|
||||
break
|
||||
}
|
||||
|
||||
|
|
@ -595,7 +604,7 @@ export function App({ gw }: { gw: GatewayClient }) {
|
|||
const done = prev.find(t => t.id === p.tool_id)
|
||||
const label = TOOL_VERBS[done?.name ?? p.name] ?? done?.name ?? p.name
|
||||
const ctx = done?.context || ''
|
||||
appendMessage({ role: 'tool', text: `${label}${ctx ? ' ' + ctx : ''} ✓` })
|
||||
appendMessage({ role: 'tool', text: `${label}${ctx ? ': ' + ctx : ''} ✓` })
|
||||
return prev.filter(t => t.id !== p.tool_id)
|
||||
})
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue