Skip to content

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.

Agent jobs list: the conversation's wording for the first step and the time left

Bowen Xue360729e054e3
diff --git a/web/agent_activity.css b/web/agent_activity.css
index 2222cef..094555c 100644
--- a/web/agent_activity.css
+++ b/web/agent_activity.css
@@ -17,7 +17,6 @@
@keyframes fv-agent-in{from{opacity:0;transform:translateY(-6px)}}
.fv-agent-panel header{padding:16px 18px 12px;border-bottom:1px solid var(--fv-border)}
.fv-agent-panel h2{margin:0;font-size:var(--fv-strong);font-weight:var(--fv-semibold)}
-.fv-agent-panel header p{margin:6px 0 0;font-size:var(--fv-micro);line-height:1.5;color:var(--fv-muted);text-wrap:balance}
.fv-agent-panel ol{list-style:none;margin:0;padding:6px;overflow:auto;display:grid;gap:2px}
.fv-agent-job{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;padding:12px;border-radius:var(--fv-r-sm)}
.fv-agent-job:hover{background:var(--fv-hover)}
diff --git a/web/agent_activity.js b/web/agent_activity.js
index 1ae40de..811c7bd 100644
--- a/web/agent_activity.js
+++ b/web/agent_activity.js
@@ -27,13 +27,13 @@ function glyph(path) {
const p = document.createElementNS('http://www.w3.org/2000/svg', 'path'); p.setAttribute('d', path); svg.append(p);
return svg;
}
-// The same two wordings as the generation progress in the create view.
-const left = (s, t) => s >= 60 ? t(`About ${Math.ceil(s / 60)}\u00a0min left`, `预计还需约 ${Math.ceil(s / 60)}\u00a0分钟`)
- : t('Less than a minute left', '预计还需不到 1\u00a0分钟');
+// The same two wordings as the conversation's cards.
+const left = (s, t) => s >= 60 ? t(`About ${Math.ceil(s / 60)} min`, `约 ${Math.ceil(s / 60)} 分钟`) : t('Under 1 min', '不到 1 分钟');
// The engine's phases in the reader's language.
function phaseText(p, t) {
const step = p.step;
- if (p.phase === 'sampling' && step?.total) return t(`Step ${step.done} / ${step.total}`, `生成 ${step.done} / ${step.total}`);
+ // The first step is still getting ready: the line does not count from zero.
+ if (p.phase === 'sampling' && step?.total) return step.done >= 1 ? t(`Step ${step.done} / ${step.total}`, `生成 ${step.done} / ${step.total}`) : t('Preparing', '准备中');
return {encoding: t('Reading prompt and media', '读取提示词和素材'), load: t('Loading the model', '加载模型'),
decode: t('Saving video and audio', '保存视频与音频'), starting: t('Starting', '启动中'),
loading: t('Loading the model', '加载模型'), answering: t('Answering', '回答中'), rewriting: t('Writing', '改写中'),
@@ -194,9 +194,7 @@ export function createAgentActivity(t, api, host, {interval = [1500, 8000], open
function renderPanel() {
const header = el('header');
- header.append(el('h2', null, t('Agent jobs', 'Agent 任务')),
- el('p', null, t('Requests from AI agents connected to FreeVideo. They share the queue with your videos.',
- '已连接的 AI Agent 提交的任务,与您的生成共用同一个队列。')));
+ header.append(el('h2', null, t('Agent jobs', 'Agent 任务')));
const list = el('ol');
const key = refill(panel, list, rows(data.jobs, t, api, poll, job => { setOpen(false); open(job); }));
panel.replaceChildren();