Commit Graph

8 Commits

Author SHA1 Message Date
kingbri
4cc0b59bdc Requirements: Add sse-starlette
Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-10 19:41:08 -04:00
kingbri
2025a1c857 Requirements: Unpin uvicorn
v0.28.0 works now and the underlying errors were fixed.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-10 17:48:43 -04:00
kingbri
e33971859b Requirements: Pin uvicorn
Pin uvicorn due to issues with request disconnection in the latest
version.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-10 01:23:36 -05:00
kingbri
228c227c1e Logging: Switch to loguru
Loguru is a flexible logger that allows for easier hooking and imports
into Rich with no problems. Also makes progress bars stick to the
bottom of the terminal window.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-08 01:00:48 -05:00
kingbri
fe0ff240e7 Progress: Switch to Rich
Rich is a more mature library for displaying progress bars, logging,
and console output. This should help properly align progress bars
within the terminal.

Side note: "We're Rich!"

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-08 01:00:48 -05:00
AlpinDale
6a5bbd217c feat: logging (#39)
* add logging

* simplify the logger

* formatting

* final touches

* fix format

* Model: Add log to metrics

Signed-off-by: kingbri <bdashore3@proton.me>

---------

Authored-by: AlpinDale <52078762+AlpinDale@users.noreply.github.com>
2023-12-23 04:33:31 +00:00
kingbri
da69ad8cd3 Requirements: Pin versions for some dependencies
Pydantic and Jinja2 need pinned versions.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-19 21:48:04 -05:00
kingbri
46f6dc824e Scripts: Add requirements update to start script
Also add an argument to skip the requirements if needed.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-18 23:53:47 -05:00