refactor: summarize error message without line number

This commit is contained in:
Florian Hönicke
2023-06-05 17:05:58 +02:00
parent 304777837d
commit 938d615edc
4 changed files with 31 additions and 5 deletions

View File

@@ -53,6 +53,7 @@ BLACKLISTED_PACKAGES = [
'clearbit', # because of installation issues on latest version
'pyttsx3', # after engine.save_to_file(summarized_text, "summarized_audio.wav"); engine.runAndWait() "summarized_audio.wav" does not exist
]
UNNECESSARY_PACKAGES = [
'jinja2', 'werkzeug', 'flask', 'flask_restful', 'http.server', 'flask_json', 'flask_cors', 'fastapi', 'uvicorn', 'starlette', # because the wrappers are used instead
'pypng', # if we provide access to the documentation all should be fine but for now it is too hard to use since the import is png
@@ -70,3 +71,7 @@ SEARCH_PACKAGES = [
'googlesearch-python', 'google', 'googlesearch', 'google-api-python-client', 'pygooglenews', 'google-cloud'
]
TOOL_TO_ALIASES = {
'gpt_3_5_turbo': ['gpt-3', 'GPT-3']
}