mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-29 18:46:59 +00:00
fmt(js): npm run fix on merge (#71236)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
0c48d2bda9
commit
760112adb6
1 changed files with 1 additions and 3 deletions
|
|
@ -174,9 +174,7 @@ export function useSubmitPrompt(deps: SubmitPromptDeps) {
|
|||
// drain is for the current view (no storedSessionId, or it matches the
|
||||
// foreground), the foreground runtime is correct and must be kept.
|
||||
const isBackgroundQueueDrain = Boolean(
|
||||
options?.fromQueue &&
|
||||
options?.storedSessionId &&
|
||||
options.storedSessionId !== selectedStoredSessionIdRef.current
|
||||
options?.fromQueue && options?.storedSessionId && options.storedSessionId !== selectedStoredSessionIdRef.current
|
||||
)
|
||||
|
||||
let sessionId: null | string = options?.sessionId ?? (isBackgroundQueueDrain ? null : activeSessionIdRef.current)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue