refactor(ai): 移除chat,合并chat和knowledge为web

以后有需要再拆分
This commit is contained in:
2025-06-15 20:08:51 +08:00
parent 9c658afbd7
commit 44d1473c6b
46 changed files with 108 additions and 141 deletions

View File

@@ -42,7 +42,7 @@ function Conversation() {
const [agent] = useXAgent<ChatMessage>({
request: async (info, callbacks) => {
await fetchEventSource(`${commonInfo.baseAiChatUrl}/chat/async`, {
await fetchEventSource(`${commonInfo.baseAiUrl}/chat/async`, {
method: 'POST',
headers: commonInfo.authorizationHeaders,
body: JSON.stringify(info.messages),