mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-04 11:01:14 +03:00
Cleanup
This commit is contained in:
parent
bd0ce61ab9
commit
84cb259283
@ -203,7 +203,10 @@ export default function ChatPage() {
|
|||||||
const hasContent = !!msg.content?.trim();
|
const hasContent = !!msg.content?.trim();
|
||||||
const hasReasoning = !!msg.reasoning?.trim();
|
const hasReasoning = !!msg.reasoning?.trim();
|
||||||
const showProcessing =
|
const showProcessing =
|
||||||
isLastAssistant && isLoading && !hasContent && !hasReasoning;
|
isLastAssistant &&
|
||||||
|
isLoading &&
|
||||||
|
!hasContent &&
|
||||||
|
!hasReasoning;
|
||||||
|
|
||||||
// Hide empty placeholder only when there are no tool calls
|
// Hide empty placeholder only when there are no tool calls
|
||||||
// and no reasoning streaming yet
|
// and no reasoning streaming yet
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user