fix message reversing
This commit is contained in:
@@ -15,7 +15,9 @@ export default function StockPrice(props: {
|
||||
apiUrl: "http://localhost:3123",
|
||||
});
|
||||
|
||||
const aiTool = thread.messages
|
||||
const messagesCopy = thread.messages;
|
||||
|
||||
const aiTool = messagesCopy
|
||||
.slice()
|
||||
.reverse()
|
||||
.find(
|
||||
|
||||
Reference in New Issue
Block a user