Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Keep quoted button names on one line in chat errors
Bowen Xue154627e095b9
diff --git a/web/autopilot_chat.css b/web/autopilot_chat.cssindex 7f2fa37..dbdb1cf 100644--- a/web/autopilot_chat.css+++ b/web/autopilot_chat.css@@ -143,3 +143,4 @@.fv-chat-new-error{padding:0 var(--fv-chats-pad) 6px}.fv-chat-me>.fv-chat-actions{margin-top:6px;flex-wrap:wrap;justify-content:flex-end}.fv-chat-me .fv-chat-error{flex:1;min-width:0}+.fv-chat-keep{white-space:nowrap}diff --git a/web/autopilot_chat.js b/web/autopilot_chat.jsindex d4fbf48..5bbe650 100644--- a/web/autopilot_chat.js+++ b/web/autopilot_chat.js@@ -242,7 +242,13 @@ export function agentChat(t, api, {open, edit, shown = () => true, changed = ()sendButton.type = 'submit'; sendButton.setAttribute('aria-label', t('Send', '发送')); sendButton.append(glyph('M12 19V5M5 12l7-7 7 7'));form.append(input, sendButton); scroller.append(log); main.append(scroller, down, form); element.append(main);const notice = el('p', 'fv-chat-notice'); notice.hidden = true; notice.setAttribute('role', 'status'); main.insertBefore(notice, form);- function say(text) { notice.textContent = text; notice.hidden = !text; }+ // A quoted button name stays on one line, so “新对话” never wraps in the middle.+ function quoted(node, text) {+ const parts = String(text).split(/(“[^”]{1,12}”|"[^"]{1,24}")/);+ node.textContent = text;+ if (parts.length > 1) node.replaceChildren(...parts.flatMap((part, index) => part ? [el('span', index % 2 ? 'fv-chat-keep' : '', part)] : []));+ }+ function say(text) { quoted(notice, text); notice.hidden = !text; }let dismissImage = null;let state = emptyChat(), pending = [], known = false, stopped = false, timer = null, busy = false, failures = 0;@@ -607,7 +613,7 @@ export function agentChat(t, api, {open, edit, shown = () => true, changed = ()});status.append(error, retry); item.append(status);}- error.textContent = entry.error || ''; error.hidden = !entry.error;+ quoted(error, entry.error || ''); error.hidden = !entry.error;const full = entry.errorCode === 'session_full';retry.textContent = full ? t('New chat', '新对话') : t('Retry', '重试');retry.disabled = entry.sending || (full ? creating : !sendingAllowed());