fix(answer/operation): feedback status in the logs (#6716)

pull/6723/head
Kevin9703 2 years ago committed by GitHub
parent c6996a48a4
commit 427f48be6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save