Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(agents): add key to AgentDetail to reset state on agent switch

Naiyuan Qing9a6925bc8bc0
diff --git a/apps/web/app/(dashboard)/agents/page.tsx b/apps/web/app/(dashboard)/agents/page.tsx
index 902cbcf4c4..2c8e8e4f2c 100644
--- a/apps/web/app/(dashboard)/agents/page.tsx
+++ b/apps/web/app/(dashboard)/agents/page.tsx
@@ -1417,6 +1417,7 @@ export default function AgentsPage() {
{/* Right column — agent detail */}
{selected ? (
<AgentDetail
+ key={selected.id}
agent={selected}
runtimes={runtimes}
onUpdate={handleUpdate}