fix: 修复换个答案数据类型错误 (#1728)

This commit is contained in:
shaohuzhang1 2024-12-02 11:13:51 +08:00 committed by GitHub
parent 94c521967a
commit 93d40b42e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,8 +82,8 @@ function showSource(row: any) {
} }
return false return false
} }
const regenerationChart = (question: string) => { const regenerationChart = (chat: chatType) => {
props.sendMessage(question, { rechat: true }) props.sendMessage(chat.problem_text, { rechat: true })
} }
const stopChat = (chat: chatType) => { const stopChat = (chat: chatType) => {
props.chatManagement.stop(chat.id) props.chatManagement.stop(chat.id)