mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
chat error
This commit is contained in:
@ -17,7 +17,7 @@ const BasicContent: FC<BasicContentProps> = ({
|
||||
if (annotation?.logAnnotation)
|
||||
return <Markdown content={annotation?.logAnnotation.content || ''} />
|
||||
|
||||
return <Markdown content={content} />
|
||||
return <Markdown content={content} className={`${item.isError && '!text-[#F04438]'}`} />
|
||||
}
|
||||
|
||||
export default memo(BasicContent)
|
||||
|
||||
@ -57,6 +57,7 @@ export type WorkflowProcess = {
|
||||
}
|
||||
|
||||
export type ChatItem = IChatItem & {
|
||||
isError?: boolean
|
||||
workflowProcess?: WorkflowProcess
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user