Skip to content

Commit

Permalink
Fix indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Dec 17, 2024
1 parent 3057f2c commit 37ab668
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 @@ -149,7 +149,7 @@ export const chatSlice = createSlice({
} else if (observationID === "run_ipython") {
// For IPython, we consider it successful if there's no error message
const ipythonObs = observation.payload as IPythonObservation;
causeMessage.success = !ipythonObs.message
causeMessage.success = !ipythonObs.content
.toLowerCase()
.includes("error");
}
Expand Down

0 comments on commit 37ab668

Please sign in to comment.