feat: added basic html export of log files
Relevant to https://github.com/ErikBjare/gptme/issues/23 and https://github.com/ErikBjare/gptme/issues/32
Has several issues:
- can't display the gptme/logmanager.py file (or the gptme/log2html.py file after my refactor), causes the entire message to be empty
- log should prob be included as raw json which is read with js and used to generate contents
- has some downsides, but would prob work better. could even mean we can point a index.html at any log.json file, removing the need to build a html file per log
Your free trial has expired. To keep using Ellipsis, sign up at https://app.ellipsis.dev for $20/seat/month or reach us at [email protected]
I'm sorry, I could not fulfill your request. Please check the log of this run for more information.
Codecov Report
Attention: Patch coverage is 35.48387% with 20 lines in your changes missing coverage. Please review.
Project coverage is 80.16%. Comparing base (
4900d19) to head (0d922d4).
:white_check_mark: All tests successful. No failed tests found.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| gptme/log2html.py | 40.00% | 12 Missing :warning: |
| gptme/commands.py | 12.50% | 7 Missing :warning: |
| gptme/logmanager.py | 66.66% | 1 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## master #105 +/- ##
==========================================
- Coverage 80.69% 80.16% -0.54%
==========================================
Files 45 46 +1
Lines 2787 2818 +31
==========================================
+ Hits 2249 2259 +10
- Misses 538 559 +21
| Flag | Coverage Δ | |
|---|---|---|
| anthropic | 79.06% <35.48%> (-0.49%) |
:arrow_down: |
| openai | 78.38% <35.48%> (-0.52%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I'm sorry, I could not fulfill your request. Please check the log of this run for more information.
Replaced by https://github.com/ErikBjare/gptme/pull/235