AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend): Update in-view run with real-time updates (#10839)
Reinier van der Leer22e692bdda2e
diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/OldAgentLibraryView/OldAgentLibraryView.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/OldAgentLibraryView/OldAgentLibraryView.tsxindex b4bdfe1e79..88d99c8cfb 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/OldAgentLibraryView/OldAgentLibraryView.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/OldAgentLibraryView/OldAgentLibraryView.tsx@@ -290,6 +290,10 @@ export function OldAgentLibraryView() {}agentRunsQuery.upsertAgentRun(data);+ if (data.id === selectedView.id) {+ // Update currently viewed run+ setSelectedRun(data);+ }},);