Commit 781f545
committed
Introduce Loguru for enhanced debugging and logging
- Replaced standard print statements with Loguru-based logging for better log management.
- Added configurable logging depending on debug mode (normal or detailed).
- Enhanced error handling with detailed logging in key functions like `ask_question`, `get_api_key_from_context`, and `search_code`.
- Improved logging in application lifecycle, including HTTP client setup, request handling, and response processing.1 parent 5fa7bad commit 781f545
2 files changed
+252
-66
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
0 commit comments