mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 09:00:52 +03:00
add output keys fix
This commit is contained in:
@@ -509,7 +509,7 @@ export const getUserHome = (): string => {
|
||||
*/
|
||||
export const mapChatHistory = (options: ICommonObject): ChatMessageHistory => {
|
||||
const chatHistory = []
|
||||
const histories: IMessage[] = options.chatHistory
|
||||
const histories: IMessage[] = options.chatHistory ?? []
|
||||
|
||||
for (const message of histories) {
|
||||
if (message.type === 'apiMessage') {
|
||||
|
||||
Reference in New Issue
Block a user