Go to file
Paul Harrison 618423c0e8 Fix test bug introduced with conversation naming
The ChatFake object used in CLI tests never gets a `conversation`
attribute defined. This resulted in multiple tests failing since the
`save_conversation` function accessed the `name` attribute via
`current_chat.conversation.name`. This was resolved by adding a `name`
property to the `Chat` class, which can be easily faked in tests.

Additionally, formatting was fixed.
2023-09-14 21:37:57 +01:00
src/llm_chat Fix test bug introduced with conversation naming 2023-09-14 21:37:57 +01:00
tests Fix test bug introduced with conversation naming 2023-09-14 21:37:57 +01:00
.gitignore Store conversation history on session end 2023-08-24 18:22:15 +01:00
LICENSE Initial commit 2023-08-13 19:53:05 +01:00
Makefile Add linting checks and code formatting 2023-08-16 10:10:06 +01:00
README.md Initial commit 2023-08-13 19:53:05 +01:00
poetry.lock Name conversation 2023-09-14 18:02:45 +01:00
pyproject.toml Name conversation 2023-09-14 18:02:45 +01:00

README.md

LLM Chat

A general CLI interface for large language models.