mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 11:56:53 +08:00
Chore: chat log refactor (#5523)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { API_PREFIX, IS_CE_EDITION, PUBLIC_API_PREFIX } from '@/config'
|
||||
import Toast from '@/app/components/base/toast'
|
||||
import type { AnnotationReply, MessageEnd, MessageReplace, ThoughtItem } from '@/app/components/app/chat/type'
|
||||
import type { AnnotationReply, MessageEnd, MessageReplace, ThoughtItem } from '@/app/components/base/chat/chat/type'
|
||||
import type { VisionFile } from '@/types/app'
|
||||
import type {
|
||||
IterationFinishedResponse,
|
||||
|
||||
@@ -55,7 +55,7 @@ export const fetchSuggestedQuestions = (appId: string, messageId: string, getAbo
|
||||
)
|
||||
}
|
||||
|
||||
export const fetchConvesationMessages = (appId: string, conversation_id: string, getAbortController?: any) => {
|
||||
export const fetchConversationMessages = (appId: string, conversation_id: string, getAbortController?: any) => {
|
||||
return get(`apps/${appId}/chat-messages`, {
|
||||
params: {
|
||||
conversation_id,
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
del as consoleDel, get as consoleGet, patch as consolePatch, post as consolePost,
|
||||
delPublic as del, getPublic as get, patchPublic as patch, postPublic as post, ssePost,
|
||||
} from './base'
|
||||
import type { Feedbacktype } from '@/app/components/app/chat/type'
|
||||
import type { Feedbacktype } from '@/app/components/base/chat/chat/type'
|
||||
import type {
|
||||
AppConversationData,
|
||||
AppData,
|
||||
|
||||
Reference in New Issue
Block a user