feat: 优化对话历史功能

This commit is contained in:
2026-06-20 19:57:36 +08:00
parent 2a7d4c74d4
commit ab07e01adf
15 changed files with 653 additions and 174 deletions

View File

@@ -25,7 +25,7 @@ export function useWebSocketManager() {
return {
status,
lastMessage,
connect: (token?: string) => wsClient.connect(token),
connect: (token?: string, conversationId?: string) => wsClient.connect(token, conversationId),
disconnect: () => wsClient.disconnect(),
send: wsClient.send.bind(wsClient),
};