Răsfoiți Sursa

智慧办公的 useRag也传false

王苗苗 7 luni în urmă
părinte
comite
5b831e11ab

BIN
.DS_Store


BIN
slibra-admin/.DS_Store


+ 9 - 5
slibra-admin/src/main/java/com/slibra/web/controller/business/GRPCController.java

@@ -600,11 +600,15 @@ public class GRPCController extends BaseController {
             //2024年7月29日14:20:22 先判断是不是走本地工具,再判断前端工具
             //2024年08月11日15:54:52 问答默认都是false了,只有前端指定工具才是具体的工具名称
 //            if(StringUtils.isBlank(tools) || STR_TRUE.equals(tools)){
-                if(StringUtils.isNotBlank(toolsReq)){
-                    useRag = false;//2024年7月27日18:20:23 走本地工具,不需要文本增强
-                    isStrong = 0;
-                    tools = toolsReq;
-                }
+            if(StringUtils.isNotBlank(toolsReq)){
+                useRag = false;//2024年7月27日18:20:23 走本地工具,不需要文本增强
+                isStrong = 0;
+                tools = toolsReq;
+            }
+            //2024年08月21日11:49:25 如果是智慧办公,useRag也是false
+            if(2 == module){//智慧办公
+                useRag = false;
+            }
 //                else
 //                    tools = tools;
 //            }