Reduce "few seconds" threshold to 3

28ba262087628996e479ee9218590038758f12cb

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/reasoning.js+1 -1
@@ -79,7 +79,7 @@ export function extractReasoningFromData(data) {
79 */79 */
80export function updateReasoningTimeUI(element, duration, { forceEnd = false } = {}) {80export function updateReasoningTimeUI(element, duration, { forceEnd = false } = {}) {
81 if (duration) {81 if (duration) {
82 const durationStr = moment.duration(duration).locale(getCurrentLocale()).humanize({ s: 50, ss: 9 });82 const durationStr = moment.duration(duration).locale(getCurrentLocale()).humanize({ s: 50, ss: 3 });
83 const secondsStr = moment.duration(duration).asSeconds();83 const secondsStr = moment.duration(duration).asSeconds();
84 element.innerHTML = t`Thought for <span title="${secondsStr} seconds">${durationStr}</span>`;84 element.innerHTML = t`Thought for <span title="${secondsStr} seconds">${durationStr}</span>`;
85 } else if (forceEnd) {85 } else if (forceEnd) {