Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ui/src/components/ai-chat/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ const openChatId: () => Promise<string> = () => {
/**
* 对话
*/
function getChartOpenId(chat?: any) {
function getChartOpenId(chat?: any, problem?: string, re_chat?: boolean, other_params_data?: any) {
return openChatId().then(() => {
chatMessage(chat)
chatMessage(chat, problem, re_chat, other_params_data)
})
}

Expand Down Expand Up @@ -317,7 +317,7 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
ChatManagement.write(chat.id)
}
if (!chartOpenId.value) {
getChartOpenId(chat).catch(() => {
getChartOpenId(chat, problem, re_chat, other_params_data).catch(() => {
errorWrite(chat)
})
} else {
Expand Down
Loading