tinyhumansai/openhuman · error
[artifact] regenerate failed:
Error message
[artifact] regenerate failed:
What it means
Regenerating an in-flight artifact failed: the ai_regenerate path (#3162) that reloads the persisted creation args and re-runs generation under the original artifact id threw. The artifact card's spinner state is driven by socket events thereafter, so a failed regenerate leaves the artifact in its prior non-ready state rather than producing a new one.
Source
Thrown at app/src/features/conversations/Conversations.tsx:2246
// via `ai_regenerate` (#3162): the core reloads the persisted
// creation args and re-runs generation under the original
// artifact id, so the card swaps back to a spinner in place and
// then to ready/failed via the socket events.
const artifactThreadId = selectedThreadId ?? firstActiveThreadId;
const all = artifactThreadId ? (artifactsByThread[artifactThreadId] ?? []) : [];
const live = all.filter(a => a.status !== 'ready');
if (live.length === 0) return null;
return (
<div className="mb-2 flex flex-col gap-2">
{live.map(artifact => (
<ArtifactCard
key={artifact.artifactId}
artifact={artifact}
onRetry={
artifactThreadId
? id => {
void aiRegenerate(id, artifactThreadId).catch(err => {
console.warn('[artifact] regenerate failed:', err);
});
}
: undefined
}
/>
))}
</div>
);
})()}
{/* Thread-scoped todo list the agent maintains as it works — read-only,
pinned above the composer. Distinct from the Intelligence-tab kanban
(global `user-tasks`). Renders nothing when the thread has no active
cards. */}
{/* Plan-mode review: the orchestrator parked the live turn on a
thread-scoped plan (request_plan_review gate). Surface it for the
user to Approve / Reject / send feedback on before anything executes;
the card resolves the parked turn via plan_review_decide. */}View on GitHub (pinned to 7491200858)
Solutions
- Check the warned error for the failure layer — RPC transport, artifact store read, or generation itself
- Verify the artifact still exists and its persisted creation args are intact in the artifacts store
- Retry the regenerate action from the artifact card once the underlying cause is fixed
- Inspect core logs for the ai_regenerate handler and the generation run for the detailed error
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at app/src/features/conversations/Conversations.tsx:2246 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17).
Data as JSON: /api/errors/070c6a393f066be6.
Report an issue: GitHub.