Closed vporton closed 1 year ago
Full user chat history is persisted in the PostgreSQL.
I will try to test it tomorrow
@vporton the code is fulll of python issues. Could you fix those so I can focus on testing the logic?
OK, I fixed the Python exceptions.
Chat history is now stored in Redis instead of memory.
Note that for some reason, messages are also stored in PostgreSQL. I didn't touch the Postgre code, only the memory code was replaced by Redis. I, however, added a comment about this weird duplicity.
I didn't test the code. You know how to test it much better, than I do.
Fixes #3.