simplify prompt

This commit is contained in:
zachary62
2024-12-31 22:01:41 +00:00
parent d316dfda37
commit b13225c866
2 changed files with 85 additions and 185 deletions
+1 -1
View File
@@ -355,7 +355,7 @@
" assert \"most_relevant\" in result if result[\"has_relevant\"] else True\n",
" return result\n",
" # handle errors by returning a default response in case of exception after retries\n",
" def exec_fallback(self,shared,prep_res,exc):\n",
" def exec_fallback(self,prep_res,exc):\n",
" # if not overridden, the default is to throw the exception\n",
" return {\"think\":\"error finding the file\", \"has_relevant\":False}\n",
" def post(self, shared, prep_res, exec_res):\n",