mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-30 20:49:21 +08:00
fix: restore download button when file type is selected in agent message (#17184)
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import message from '@/components/ui/message';
|
||||
import { Authorization } from '@/constants/authorization';
|
||||
import { ResponseType } from '@/interfaces/database/base';
|
||||
import { IReferenceObject } from '@/interfaces/database/chat';
|
||||
import {
|
||||
IDocumentDownloadInfo,
|
||||
IReferenceObject,
|
||||
} from '@/interfaces/database/chat';
|
||||
import { BeginQuery } from '@/pages/agent/interface';
|
||||
import { getAuthorization } from '@/utils/authorization-util';
|
||||
import { EventSourceParserStream } from 'eventsource-parser/stream';
|
||||
@@ -59,7 +62,9 @@ export interface IMessageData {
|
||||
}
|
||||
|
||||
export interface IMessageEndData {
|
||||
reference: IReferenceObject;
|
||||
reference?: IReferenceObject;
|
||||
attachment?: IAttachment;
|
||||
downloads?: IDocumentDownloadInfo[];
|
||||
}
|
||||
|
||||
export interface ILogData extends INodeData {
|
||||
|
||||
Reference in New Issue
Block a user