mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 13:35:58 +08:00
fix(answer/operation): feedback status in the logs (#6716)
This commit is contained in:
parent
c6996a48a4
commit
427f48be6b
@ -53,10 +53,11 @@ const Operation: FC<OperationProps> = ({
|
||||
content: messageContent,
|
||||
annotation,
|
||||
feedback,
|
||||
adminFeedback,
|
||||
agent_thoughts,
|
||||
} = item
|
||||
const hasAnnotation = !!annotation?.id
|
||||
const [localFeedback, setLocalFeedback] = useState(feedback)
|
||||
const [localFeedback, setLocalFeedback] = useState(config?.supportAnnotation ? adminFeedback : feedback)
|
||||
|
||||
const content = useMemo(() => {
|
||||
if (agent_thoughts?.length)
|
||||
|
Loading…
x
Reference in New Issue
Block a user