llm-chat/src/llm_chat
Paul Harrison b859c8bb95 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 11:12:53 +00:00
..
__init__.py Initial commit 2023-08-13 19:53:05 +01:00
chat.py Fix failing cost calculation test 2024-02-23 11:12:53 +00:00
cli.py Fix test bug introduced with conversation naming 2023-09-14 21:37:57 +01:00
models.py Name conversation 2023-09-14 18:02:45 +01:00
settings.py Add GPT-4-turbo-preview to enabled models 2024-02-17 16:13:54 +00:00