fix(ui): handle review feedback

This commit is contained in:
DhanushSantosh
2026-01-20 19:50:15 +05:30
parent cf60f84f89
commit a863dcc11d
2 changed files with 15 additions and 6 deletions

View File

@@ -44,8 +44,13 @@ export function RunningAgentsView() {
const isBacklogPlan = agent.featureId.startsWith('backlog-plan:');
if (isBacklogPlan && api.backlogPlan) {
logger.debug('Stopping backlog plan agent', { featureId: agent.featureId });
await api.backlogPlan.stop();
refetch();
try {
await api.backlogPlan.stop();
} catch (error) {
logger.error('Failed to stop backlog plan', { featureId: agent.featureId, error });
} finally {
refetch();
}
return;
}
// Use mutation for regular features