feat(ai-house): 重构找房聊天交互

This commit is contained in:
2026-07-31 20:21:08 +08:00
parent ab32a41bd8
commit c93aac0aa9
3 changed files with 195 additions and 160 deletions

View File

@@ -3,6 +3,14 @@ import http from './index.js';
// AI找房问答
export const sendHouseAiMessage = (data) => http.post('/house/ai-chat/message', data)
// 清空当前AI找房会话
export const clearHouseAiSession = (data) => http.post('/house/ai-chat/session/clear', data)
// 无候选时提交找房咨询线索
export const submitHouseAiLead = (data) => http.post('/house/house-message/ai-agent', data)
export default {
sendHouseAiMessage
sendHouseAiMessage,
clearHouseAiSession,
submitHouseAiLead
}