llm-chat/src/llm_chat
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
..
__init__.py Initial commit 2023-08-13 19:53:05 +01:00
chat.py Fix test bug introduced with conversation naming 2023-09-14 21:37:57 +01: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 Name conversation 2023-09-14 18:02:45 +01:00