fix(FN-3005): preserve card timer across reruns
This commit is contained in:
@@ -871,12 +871,9 @@ export function QuickChatFAB({
|
||||
);
|
||||
if (hasDefaultModel) {
|
||||
setSelectedModel(defaultSelection);
|
||||
// Switch to model mode regardless of whether agents are present —
|
||||
// a configured default model is an explicit user preference and
|
||||
// should drive the panel to its corresponding mode immediately,
|
||||
// otherwise the tag/dropdown auto-selection would be invisible
|
||||
// until the user manually toggles modes.
|
||||
setChatMode("model");
|
||||
if (agents.length === 0) {
|
||||
setChatMode("model");
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1551,7 +1548,7 @@ export function QuickChatFAB({
|
||||
<div className="quick-chat-panel-header">
|
||||
<div className="quick-chat-panel-title-wrap">
|
||||
<h3>Quick Chat</h3>
|
||||
{chatMode === "model" && selectedModelTag && (
|
||||
{selectedModelTag && (
|
||||
<span className="quick-chat-model-tag" data-testid="quick-chat-model-tag" title={selectedModelTag}>
|
||||
{selectedModelTag}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user