mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-13 09:01:54 +00:00
chore: uptick
This commit is contained in:
parent
18916376f1
commit
7f302c91b2
3 changed files with 20 additions and 3 deletions
|
|
@ -1411,7 +1411,11 @@ export function ChatBar({
|
|||
}
|
||||
|
||||
void runDrain(() => entry)
|
||||
.then(sent => void (sent ? undefined : onFail()))
|
||||
.then(sent => {
|
||||
if (!sent) {
|
||||
onFail()
|
||||
}
|
||||
})
|
||||
.catch(onFail)
|
||||
}, [activeQueueSessionKey, busy, pickDrainHead, queuedPrompts, runDrain, t])
|
||||
|
||||
|
|
@ -1437,7 +1441,7 @@ export function ChatBar({
|
|||
if (shouldAutoDrain({ isBusy: busy, queueLength: queuedPrompts.length })) {
|
||||
autoDrainNext()
|
||||
}
|
||||
}, [activeQueueSessionKey, autoDrainNext, busy, queuedPrompts.length])
|
||||
}, [autoDrainNext, busy, queuedPrompts.length])
|
||||
|
||||
// Queue-edit cleanup: on session swap the scope effect already stashed the
|
||||
// edit snapshot; only restore into the composer when still on the same scope.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,16 @@ import {
|
|||
type SyntaxHighlighterProps
|
||||
} from '@assistant-ui/react-streamdown'
|
||||
import { code } from '@streamdown/code'
|
||||
import { type ComponentProps, memo, type ReactNode, useDeferredValue, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import {
|
||||
type ComponentProps,
|
||||
memo,
|
||||
type ReactNode,
|
||||
useDeferredValue,
|
||||
useEffect,
|
||||
useMemo,
|
||||
useRef,
|
||||
useState
|
||||
} from 'react'
|
||||
|
||||
import { PreviewAttachment } from '@/components/chat/preview-attachment'
|
||||
import { SyntaxHighlighter } from '@/components/chat/shiki-highlighter'
|
||||
|
|
|
|||
|
|
@ -1157,6 +1157,10 @@ canvas {
|
|||
margin-block-end: 0 !important;
|
||||
}
|
||||
|
||||
[data-slot='aui_assistant-message-content'] .aui-md .aui-md-table thead {
|
||||
border-bottom-color: var(--dt-border) !important;
|
||||
}
|
||||
|
||||
/* Tool / thinking blocks are scaffolding around the model's reply, so we
|
||||
keep them transparent and fade them slightly. The reading column (prose)
|
||||
stays at full strength; scaffolding lifts back to full opacity on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue