mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-13 03:52:00 +00:00
chore: fmt
This commit is contained in:
parent
c74017f405
commit
c730ab8ad7
5 changed files with 17 additions and 9 deletions
|
|
@ -114,11 +114,17 @@ export function useSessionLifecycle(opts: UseSessionLifecycleOptions) {
|
|||
usage: usageFrom(info)
|
||||
})
|
||||
|
||||
if (info) setHistoryItems([introMsg(info)])
|
||||
if (info) {
|
||||
setHistoryItems([introMsg(info)])
|
||||
}
|
||||
|
||||
if (info?.credential_warning) sys(`warning: ${info.credential_warning}`)
|
||||
if (info?.credential_warning) {
|
||||
sys(`warning: ${info.credential_warning}`)
|
||||
}
|
||||
|
||||
if (msg) sys(msg)
|
||||
if (msg) {
|
||||
sys(msg)
|
||||
}
|
||||
},
|
||||
[closeSession, colsRef, resetSession, rpc, setHistoryItems, setSessionStartedAt, sys]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue