also for permission denied
This commit is contained in:
parent
98e80c324a
commit
7b839a28fa
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export const MemoizedMessage = memo<MemoizedMessageProps>(
|
|||
|
||||
case "tool-result":
|
||||
const isFailure =
|
||||
message.toolResult?.includes("Permission denied") ||
|
||||
message.toolResult?.startsWith("Permission denied") ||
|
||||
message.toolResult?.startsWith("Error");
|
||||
return (
|
||||
<Box key={index} marginBottom={1} flexDirection="column">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue