mirror of https://github.com/hwchase17/langchain
Fix chat_history message order (#10869)
Not all databases uses id as default order, so add it explicitly sqlite uses rawid as default order in select statement: [https://www.sqlite.org/lang_createtable.html#rowid](https://www.sqlite.org/lang_createtable.html#rowid), but some other databases like postgresql not behaves like this. since this class supports multiple db engine. we should have an order.pull/10938/head
parent
3d40de75c5
commit
4e58b78102
Loading…
Reference in New Issue