Improve rendering log and error stacktraces using the Rich package

- Use Rich to render uvicorn, fastAPI logs as well
  The previous CustomFormatter only worked on khoj logs
- Improve rendering stacktrace on errors using Rich
This commit is contained in:
Debanjum Singh Solanky
2023-02-15 01:10:46 -06:00
parent a403def19e
commit c641eb4ad6
3 changed files with 11 additions and 35 deletions

View File

@@ -37,6 +37,7 @@ setup(
"pyqt6 == 6.3.1",
"defusedxml == 0.7.1",
'schedule == 1.1.0',
"rich >= 13.3.1",
],
include_package_data=True,
entry_points={"console_scripts": ["khoj = khoj.main:run"]},