jack 3 月之前
父节点
当前提交
3450d6c9eb
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      app/core/tools/file_search_tool.py

+ 1 - 6
app/core/tools/file_search_tool.py

@@ -147,12 +147,7 @@ class FileSearchTool(BaseTool):
         if (self.__keys and len(self.__keys) > 0) or (
         if (self.__keys and len(self.__keys) > 0) or (
             self.__dirkeys and len(self.__dirkeys) > 0
             self.__dirkeys and len(self.__dirkeys) > 0
         ):
         ):
-            return (
-                "You can use the 'retrieval' tool in the following situations:"
-                + "When you need to find specific content from a file or document."
-                + "When searching for data, clauses, or technical details."
-                + "When the user explicitly requests to 'search a document' or 'search for information'."
-            )
+            return ""
 
 
         else:
         else:
             return ""
             return ""