Feat: Delete unused code in the data pipeline #9869 (#9971)

### What problem does this PR solve?

Feat: Delete unused code in the data pipeline #9869
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-09-08 11:42:46 +08:00
committed by GitHub
parent 994517495f
commit b524cf0ec8
34 changed files with 35 additions and 2427 deletions

View File

@ -21,6 +21,7 @@ import { useAwaitCompentData } from '../hooks/use-chat-logic';
import { useIsTaskMode } from '../hooks/use-get-begin-query';
function AgentChatBox() {
const { data: canvasInfo, refetch } = useFetchAgent();
const {
value,
scrollRef,
@ -33,13 +34,12 @@ function AgentChatBox() {
sendFormMessage,
findReferenceByMessageId,
appendUploadResponseList,
} = useSendAgentMessage();
} = useSendAgentMessage({ refetch });
const { visible, hideModal, documentId, selectedChunk, clickDocumentButton } =
useClickDrawer();
useGetFileIcon();
const { data: userInfo } = useFetchUserInfo();
const { data: canvasInfo } = useFetchAgent();
const { id: canvasId } = useParams();
const { uploadCanvasFile, loading } = useUploadCanvasFileWithProgress();