mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-21 03:41:55 +03:00
Cleanup
This commit is contained in:
parent
c0d784a45b
commit
3ca97ed3d0
@ -62,7 +62,7 @@
|
||||
"tokens_per_second": "{{rate}} t/s"
|
||||
},
|
||||
"reasoning": {
|
||||
"thinking": "Thinking…",
|
||||
"active": "Reasoning…",
|
||||
"show": "Show reasoning",
|
||||
"hide": "Hide reasoning"
|
||||
}
|
||||
|
||||
@ -47,7 +47,7 @@ export function ReasoningBubble({
|
||||
};
|
||||
|
||||
const label = !answerStarted
|
||||
? t("reasoning.thinking")
|
||||
? t("reasoning.active")
|
||||
: open
|
||||
? t("reasoning.hide")
|
||||
: 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" />
|
||||
</div>
|
||||
) : (
|
||||
) : msg.role === "assistant" &&
|
||||
!hasContent &&
|
||||
hasReasoning &&
|
||||
!isComplete ? null : (
|
||||
<MessageBubble
|
||||
role={msg.role}
|
||||
content={msg.content}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user