Skip to content

Commit

Permalink
Update frontend/src/state/chat-slice.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
enyst authored Dec 17, 2024
1 parent 1334166 commit 6ba683a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/state/chat-slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const chatSlice = createSlice({
// For IPython, we consider it successful if there's no error message
const ipythonObs = observation.payload as IPythonObservation;
// Check for error in the message field which contains error information
causeMessage.success = !ipythonObs.error;
causeMessage.success = ipythonObs.success;
}

if (observationID === "run" || observationID === "run_ipython") {
Expand Down

0 comments on commit 6ba683a

Please sign in to comment.