Skip to content

Commit

Permalink
Fix a 422 error: ERROR_TYPE_QUERY_PARSING_FATAL unable to parse query…
Browse files Browse the repository at this point in the history
…! in search_remote_file_contents()
  • Loading branch information
hiroshinishio committed Nov 20, 2024
1 parent 869f206 commit 9a55b07
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions services/openai/functions/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
""",
}

Expand Down

0 comments on commit 9a55b07

Please sign in to comment.