@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.cjs.js CHANGED
@@ -799,6 +799,7 @@ function createChatStore() {
799
799
  }
800
800
  };
801
801
  const cancelReceive = async () => {
802
+ console.log("\u53D6\u6D88\u63A5\u6536");
802
803
  await conversationStop(conversation.active.id);
803
804
  };
804
805
  const updateConversationTitle = (conversationId, title) => {
@@ -1874,7 +1875,7 @@ var layouts_default = react.forwardRef(({ theme, params, userInfo, hooks, layout
1874
1875
  }
1875
1876
  }, [hasPreView]);
1876
1877
  common.useWebSocket({
1877
- url: common.getWebSocketUrl(`/lolr/conversation/ws/subscribe?NS-TOKEN=${common.getToken()}`, common.isLocalhost() ? "192.168.6.23:9090" : ""),
1878
+ url: common.getWebSocketUrl(`/api/lolr/conversation/ws/subscribe?NS-TOKEN=${common.getToken()}`, common.isLocalhost() ? "192.168.6.23" : ""),
1878
1879
  onMessage: chatStore.acceptMessage,
1879
1880
  clientHeartbeat: false,
1880
1881
  reconnectInterval: 1e4