Files
Zoltan Fedor 1b7cfd7222 Bugfix: Redis lrange() retrieves records in opposite order of inseerting (#2167)
The new functionality of Redis backend for chat message history
([see](https://github.com/hwchase17/langchain/pull/2122)) uses the Redis
list object to store messages and then uses the `lrange()` to retrieve
the list of messages
([see](https://github.com/hwchase17/langchain/blob/master/langchain/memory/chat_message_histories/redis.py#L50)).

Unfortunately this retrieves the messages as a list sorted in the
opposite order of how they were inserted - meaning the last inserted
message will be first in the retrieved list - which is not what we want.

This PR fixes that as it changes the order to match the order of
insertion.
2023-03-29 22:09:01 -07:00
..
2023-03-29 10:10:09 -07:00
2023-03-16 23:20:08 -07:00
2023-03-29 10:10:09 -07:00
2023-03-07 07:59:37 -08:00
2023-03-27 23:10:46 -07:00
2023-03-07 07:59:37 -08:00
2023-03-16 23:20:08 -07:00