simplify prompt
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user