@zero-library/chat-agent 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -791,6 +791,7 @@ function createChatStore() {
791
791
  }
792
792
  };
793
793
  const cancelReceive = async () => {
794
+ console.log("\u53D6\u6D88\u63A5\u6536");
794
795
  await conversationStop(conversation.active.id);
795
796
  };
796
797
  const updateConversationTitle = (conversationId, title) => {
@@ -1866,7 +1867,7 @@ var layouts_default = forwardRef(({ theme, params, userInfo, hooks, layout, conf
1866
1867
  }
1867
1868
  }, [hasPreView]);
1868
1869
  useWebSocket({
1869
- url: getWebSocketUrl(`/lolr/conversation/ws/subscribe?NS-TOKEN=${getToken()}`, isLocalhost() ? "192.168.6.23:9090" : ""),
1870
+ url: getWebSocketUrl(`/api/lolr/conversation/ws/subscribe?NS-TOKEN=${getToken()}`, isLocalhost() ? "192.168.6.23" : ""),
1870
1871
  onMessage: chatStore.acceptMessage,
1871
1872
  clientHeartbeat: false,
1872
1873
  reconnectInterval: 1e4