feat:前端新增初版知识库管理页面

This commit is contained in:
PingChuan
2025-11-30 19:27:01 +08:00
parent 9614899171
commit c94cc00138
40 changed files with 3034 additions and 1024 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import { useBoolean, useGetState } from 'ahooks';
import { produce } from 'immer';
import { useCallback, useRef, useState } from 'react';
import { sendChatMessage, updateFeedback, generateConversationName } from '~/api/dify';
import type { ChatItem, Feedbacktype, MessageEnd, MessageReplace, VisionFile } from '~/api/dify';
import type { ChatItem, Feedbacktype, MessageEnd, MessageReplace, VisionFile } from '~/api/dify-chat';
import { generateConversationName, sendChatMessage, updateFeedback } from '~/api/dify-chat';
/**
* 聊天消息处理钩子