From 9a55b0759095848e25c29c311eff4e9110c001ad Mon Sep 17 00:00:00 2001 From: Hiroshi Nishio Date: Wed, 20 Nov 2024 15:58:06 +0900 Subject: [PATCH] Fix a 422 error: ERROR_TYPE_QUERY_PARSING_FATAL unable to parse query! in search_remote_file_contents() --- services/openai/functions/functions.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/openai/functions/functions.py b/services/openai/functions/functions.py index 137a2782..7c427678 100644 --- a/services/openai/functions/functions.py +++ b/services/openai/functions/functions.py @@ -84,6 +84,14 @@ - Search for multiple variables at once: 'variable_name_1 variable_name_2' - Search for multiple functions at once: 'function_name_1 function_name_2' - Search for an entire line of code: 'from module import function_name' + + ## Important Note + + You can narrow down search results by excluding one or more subsets. To exclude all results that are matched by a qualifier, prefix the search qualifier with a hyphen (-). However, be careful when searching for command options like '--xxxxxx' because this results in `ERROR_TYPE_QUERY_PARSING_FATAL unable to parse query!` + + When searching for command-line options: + - Search for 'config' instead of '--config' + - Search for 'verbose' instead of '--verbose' """, }