mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-23 04:41:54 +03:00
Cleanup
This commit is contained in:
parent
c0d784a45b
commit
3ca97ed3d0
@ -62,7 +62,7 @@
|
|||||||
"tokens_per_second": "{{rate}} t/s"
|
"tokens_per_second": "{{rate}} t/s"
|
||||||
},
|
},
|
||||||
"reasoning": {
|
"reasoning": {
|
||||||
"thinking": "Thinking…",
|
"active": "Reasoning…",
|
||||||
"show": "Show reasoning",
|
"show": "Show reasoning",
|
||||||
"hide": "Hide reasoning"
|
"hide": "Hide reasoning"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,7 +47,7 @@ export function ReasoningBubble({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const label = !answerStarted
|
const label = !answerStarted
|
||||||
? t("reasoning.thinking")
|
? t("reasoning.active")
|
||||||
: open
|
: open
|
||||||
? t("reasoning.hide")
|
? t("reasoning.hide")
|
||||||
: t("reasoning.show");
|
: t("reasoning.show");
|
||||||
|
|||||||
@ -242,7 +242,10 @@ export default function ChatPage() {
|
|||||||
<span className="size-2 animate-bounce rounded-full bg-muted-foreground/60 [animation-delay:-0.15s]" />
|
<span className="size-2 animate-bounce rounded-full bg-muted-foreground/60 [animation-delay:-0.15s]" />
|
||||||
<span className="size-2 animate-bounce rounded-full bg-muted-foreground/60" />
|
<span className="size-2 animate-bounce rounded-full bg-muted-foreground/60" />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : msg.role === "assistant" &&
|
||||||
|
!hasContent &&
|
||||||
|
hasReasoning &&
|
||||||
|
!isComplete ? null : (
|
||||||
<MessageBubble
|
<MessageBubble
|
||||||
role={msg.role}
|
role={msg.role}
|
||||||
content={msg.content}
|
content={msg.content}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user