From d498cdcf61fd8e2ec341cad3e7c21829ecef1672 Mon Sep 17 00:00:00 2001
From: sd <shidong@jhsoft.cc>
Date: 星期二, 26 八月 2025 17:44:18 +0800
Subject: [PATCH] 摄像机配置、数据推送和文搜万物 bug和样式修复; 知识库卡片样式调整参照大模型平台知识库样式。

---
 src/pages/searchNew/components/AiRetrievalView.vue |   31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/src/pages/searchNew/components/AiRetrievalView.vue b/src/pages/searchNew/components/AiRetrievalView.vue
index e26d59b..e0c49cb 100644
--- a/src/pages/searchNew/components/AiRetrievalView.vue
+++ b/src/pages/searchNew/components/AiRetrievalView.vue
@@ -227,21 +227,21 @@
         let ids = [];
         let idsStr = "";
         //绛涢�夋渶缁堢粨鏋�
-        // const response = await AiRetrieval.getChatDetail(
-        //   {
-        //     message:userMessage
-        //   }
-        // );
-        const response = await fetch(this.severUrl +"/v1/record/chat", {
-          method: "POST",
-          headers: {
-            "Content-Type": "application/json",
-          },
-          body: JSON.stringify({
-            message: userMessage
-          }),
-        });
-
+        const response = await AiRetrieval.getChatDetail(
+          {
+            message:userMessage
+          }
+        );
+        // const response = await fetch("http://192.168.1.235:8088/v1/record/chat", {
+        //   method: "POST",
+        //   headers: {
+        //     "Content-Type": "application/json",
+        //   },
+        //   body: JSON.stringify({
+        //     message: userMessage
+        //   }),
+        // });
+          // console.log(response,"response鍙傛暟")
         if (!response.ok) throw new Error(`璇锋眰澶辫触: ${response.status}`);
 
         const reader = response.body.getReader();
@@ -768,6 +768,7 @@
   background: #cadcff;
   color: #2e2f31;
   border-radius: 12px 12px 0 12px;
+  max-width: 225px;
 }
 
 .assistant .content {

--
Gitblit v1.8.0