fix(frontend): Update in-view run with real-time updates (#10839)

- Resolves #10838

### Changes 🏗️

- Update `selectedRun` with received graph execution update if
applicable

### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  - [x] Agent outputs appear in real-time
This commit is contained in:
Reinier van der Leer
2025-09-04 14:43:44 +01:00
committed by GitHub
parent 901e9eba5d
commit 22e692bdda

View File

@@ -290,6 +290,10 @@ export function OldAgentLibraryView() {
}
agentRunsQuery.upsertAgentRun(data);
if (data.id === selectedView.id) {
// Update currently viewed run
setSelectedRun(data);
}
},
);