llm-chat/tests
Paul Harrison 98cee09c19 Fix failing cost calculation test
When updating the model pricing in commit 50fa0cc5ae I forgot to update
the associated test. As well as fixing this test, this commit also
updates the calculation to use `math.floor` instead of `round` to round
to six decimal places. This is because the `round` function appeared to
round incorrectly. For example, when running the test, 0.0000275 was
rounded to 0.000028 instead of the expected 0.000028.
2024-02-23 10:45:58 +00:00
..
__init__.py Initial commit 2023-08-13 19:53:05 +01:00
conftest.py Set default history directory to ~/.llm_chat 2023-09-27 15:33:22 +01:00
test_chat.py Fix failing cost calculation test 2024-02-23 10:45:58 +00:00
test_cli.py Fix test bug introduced with conversation naming 2023-09-14 21:37:57 +01:00