jack 4 hafta önce
ebeveyn
işleme
0204849c3c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/core/tools/file_search_tool.py

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

@@ -151,7 +151,7 @@ class FileSearchTool(BaseTool):
         if (self.__keys and len(self.__keys) > 0) or (
             self.__dirkeys and len(self.__dirkeys) > 0
         ):
-            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."
+            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 ""