The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(aui): prevent duplicate media call buttons on conversation page
Steven Enamakel6c7906b66ddb
diff --git a/app/src/features/conversations/aui/MediaAndDocumentCalls.tsx b/app/src/features/conversations/aui/MediaAndDocumentCalls.tsxindex f75828bc41..94a2b1a20d 100644--- a/app/src/features/conversations/aui/MediaAndDocumentCalls.tsx+++ b/app/src/features/conversations/aui/MediaAndDocumentCalls.tsx@@ -137,5 +137,26 @@ export const DocumentArtifactCall: ToolCallMessagePartComponent = ({? (result as { path: string }).path: kindTitle;+ if (failedArtifact) {+ return (+ <div className="flex flex-col items-start gap-1.5">+ <ArtifactCard title={title} meta={t('chat.artifact.failed')} generating={false} icon={Icon} />+ {threadId ? (+ <Button+ variant="secondary"+ size="xs"+ analyticsId="chat-artifact-retry-inline"+ onClick={() => {+ void aiRegenerate(failedArtifact.artifactId, threadId).catch(err => {+ console.warn('[artifact] regenerate failed:', err);+ });+ }}>+ {t('chat.artifact.retry')}+ </Button>+ ) : null}+ </div>+ );+ }+return <ArtifactCard title={title} meta={meta} generating={running} words={words} icon={Icon} />;};