Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(chat): correct swapped resolution fields in runtime logs

Steven Enamakel89fca4418950
diff --git a/app/src/providers/ChatRuntimeProvider.tsx b/app/src/providers/ChatRuntimeProvider.tsx
index a8efaf1f24..7fae86bfc5 100644
--- a/app/src/providers/ChatRuntimeProvider.tsx
+++ b/app/src/providers/ChatRuntimeProvider.tsx
@@ -1507,7 +1507,7 @@ const ChatRuntimeProvider = ({ children }: { children: React.ReactNode }) => {
rtLog('approval_decided', {
thread: event.thread_id,
request: event.request_id,
- resolution: event.cancel_reason,
+ resolution: event.resolution,
});
// Only a server-recorded TERMINAL non-decision (TTL expiry, an
// external cancel) needs handling here: an interactive decision made
@@ -1574,7 +1574,7 @@ const ChatRuntimeProvider = ({ children }: { children: React.ReactNode }) => {
rtLog('plan_review_decided', {
thread: event.thread_id,
request: event.request_id,
- resolution: event.resolution,
+ resolution: event.cancel_reason,
});
dispatch(
clearPendingPlanReviewIfRequest({