jack 3 周之前
父節點
當前提交
b531b290fd
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      app/core/tools/file_search_tool.py

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

@@ -151,10 +151,7 @@ class FileSearchTool(BaseTool):
         if (self.__keys and len(self.__keys) > 0) or (
             self.__dirkeys and len(self.__dirkeys) > 0
         ):
-            return (
-                'You can use the "retrieval" tool to access relevant context . '
-                + "Please keep your queries concise for the best results."
-            )  # "## 能力限制:每次请求将会限制为最多使用三种工具,并且每种工具每次只能使用一次。这样可以保证每次操作都更加简洁和有效。"  # "## Top Important: Please use the 'file_search' tool to search for relevant content or keywords. Summarize the content or keywords and provide them for 'file_search' tool usage. Please ensure that the 'file_search' tool is used only once per request."
+            return ""  # "## 能力限制:每次请求将会限制为最多使用三种工具,并且每种工具每次只能使用一次。这样可以保证每次操作都更加简洁和有效。"  # "## Top Important: Please use the 'file_search' tool to search for relevant content or keywords. Summarize the content or keywords and provide them for 'file_search' tool usage. Please ensure that the 'file_search' tool is used only once per request."
         else:
             return ""