{f.icon}{f.label}— {f.hint}
{busy ? abort.current?.abort()}> Stop : Run }Output is a suggestion; nothing is written to the page until you insert it.
{res.context &&
{res.context.references} refs · {res.context.attachments} files · {res.context.sources} passages }{res.reason &&
· {res.reason} }{res.latencyMs != null && !res.streaming &&
· {(res.latencyMs / 1000).toFixed(1)} s }{res.costUsd != null &&
· ${res.costUsd.toFixed(4)} }{res.streaming &&
}
{!res.streaming && res.text &&
{ insertMarkdown(res.text); }} title="Insert into page as AI block"> Insert into page { const p = await saveAsNote(res.text, `${f.label} — ${pageTitle}`, res.model); qc.invalidateQueries({ queryKey: ["tree"] }); r.push(`/p/${p.id}`); }} title="Save as note"> Save as note copy(res.text)} title="Copy"> }
{res.streaming && res.text && ▍ }
{res.feature === "plan" && res.data?.tasks?.length > 0 && !res.streaming && (
)}
{res.feature === "refcheck" && res.data && !res.streaming &&
{res.data.found} citations found · {res.data.matched} matched · {res.data.unverified} unverified . Add missing references by DOI or BibTeX in the References tab.
}