feat: 优化对话历史功能
This commit is contained in:
@@ -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),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user