This commit is contained in:
Dallin Romney 2025-04-11 00:38:53 -07:00
parent bc963330c7
commit 7fc7f456d0

View file

@ -99,6 +99,7 @@ export function constructMessages(
});
}
// We dispatch an empty assistant chat message to the history on submission. Don't send it
const lastMessage = msgs.at(-1);
if (
lastMessage &&