发布聊天机器人嵌入网页后-存在历史会话,会无法打开聊天框 #69

Closed
opened 2026-02-16 10:16:01 -05:00 by yindo · 0 comments
Owner

Originally created by @990833242 on GitHub (Mar 10, 2025).

首次嵌入机器人到网页,通过window.difyChatbotConfig + iframe方式,打开聊天一次,然后刷新网页,再次打开,就报错Application error: a client-side exception has occurred (see the browser console for more information).

跟踪代码,发现,服务端渲染的代码中 调用了历史会话方法 g.getPrevChatList)(M.data) : [], [M, u]) 但是该方法报错不被定义过,

Originally created by @990833242 on GitHub (Mar 10, 2025). 首次嵌入机器人到网页,通过window.difyChatbotConfig + iframe方式,打开聊天一次,然后刷新网页,再次打开,就报错Application error: a client-side exception has occurred (see the browser console for more information). 跟踪代码,发现,服务端渲染的代码中 调用了历史会话方法 g.getPrevChatList)(M.data) : [], [M, u]) 但是该方法报错不被定义过,
yindo closed this issue 2026-02-16 10:16:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/webapp-conversation#69