This PR adds a specific error message for endpoints that aren't returning JSON, as I suspect that's a common cause of issues. This PR also uses rich for logging output, which is very nice.
Before:
After:
Does this introduce a breaking change?
[ ] Yes
[X] No
Pull Request Type
What kind of change does this Pull Request introduce?
[X] Bugfix
[ ] Feature
[X] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test
Run python -m scripts evaluate --config=example_config.json --numquestions=1
Purpose
This PR adds a specific error message for endpoints that aren't returning JSON, as I suspect that's a common cause of issues. This PR also uses rich for logging output, which is very nice.
Before:
After:
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
python -m scripts evaluate --config=example_config.json --numquestions=1