mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-27 01:11:40 +00:00
feat: better bg tasks
This commit is contained in:
parent
af0f4a52fe
commit
b597123489
9 changed files with 364 additions and 5670 deletions
|
|
@ -20,7 +20,6 @@ export const MessageLine = memo(function MessageLine({
|
|||
t: Theme
|
||||
}) {
|
||||
const { body, glyph, prefix } = ROLE[msg.role](t)
|
||||
const contentWidth = Math.max(20, cols - 5)
|
||||
|
||||
if (msg.role === 'tool') {
|
||||
return (
|
||||
|
|
@ -61,7 +60,7 @@ export const MessageLine = memo(function MessageLine({
|
|||
</Text>
|
||||
</Box>
|
||||
|
||||
<Box width={contentWidth}>{content}</Box>
|
||||
<Box width={Math.max(20, cols - 5)}>{content}</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue