yangg 9 月之前
父节点
当前提交
c30cd06ad9
共有 3 个文件被更改,包括 2 次插入2 次删除
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/app.0f181d18.js
  3. 2 2
      src/components/webAi/js/ChatBox.js

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.0f181d18.js


+ 2 - 2
src/components/webAi/js/ChatBox.js

@@ -66,7 +66,7 @@ export default {
       );
     },
     connectWebSocket() {
-      const wsUrl = this.wsUrl//'http://58.246.234.210:7860/api/v1/run/951e3ba4-c66a-496c-9497-7dbddc2647f8?stream=false'
+      const wsUrl = 'http://58.246.234.210:7860/api/v1/run/2f1faff2-99df-4821-87d6-43d693084c4b?stream=false'
       // 这里做一个简单的鉴权,只有符合条件的鉴权才能握手成功
       // 移除这里的fetch调用,改用WebSocket
       this.websocket = new WebSocket(wsUrl);
@@ -119,7 +119,7 @@ export default {
         }
       }
       const chatId = this.getUuid();
-      const wsUrl =this.wsUrl//'http://58.246.234.210:7860/api/v1/run/951e3ba4-c66a-496c-9497-7dbddc2647f8?stream=false'
+      const wsUrl ='http://58.246.234.210:7860/api/v1/run/2f1faff2-99df-4821-87d6-43d693084c4b?stream=false'
       let message = this.userInput.trim();
       if (message) {
         // Markdown换行:在每个换行符之前添加两个空格

部分文件因为文件数量过多而无法显示