mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Make "Thinking..." default to fix weird flicker
This commit is contained in:
@ -383,12 +383,12 @@ export class ReasoningHandler {
|
||||
element.textContent = t`Thought for `;
|
||||
element.appendChild(span);
|
||||
data = String(secondsStr);
|
||||
} else if (this.state === ReasoningState.Thinking) {
|
||||
element.textContent = t`Thinking...`;
|
||||
data = null;
|
||||
} else {
|
||||
} else if ([ReasoningState.Done, ReasoningState.Hidden].includes(this.state)) {
|
||||
element.textContent = t`Thought for some time`;
|
||||
data = 'unknown';
|
||||
} else {
|
||||
element.textContent = t`Thinking...`;
|
||||
data = null;
|
||||
}
|
||||
|
||||
this.messageReasoningDetailsDom.dataset.duration = data;
|
||||
|
Reference in New Issue
Block a user