@langgraph-js/sdk 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -105,6 +105,8 @@ export const createChatStore = (initClientName, config, context = {}) => {
|
|
|
105
105
|
// console.log(event.data);
|
|
106
106
|
// 创建新流程时,默认为 __start__
|
|
107
107
|
currentNodeName.set("__start__");
|
|
108
|
+
if (event.type === "done")
|
|
109
|
+
loading.set(false);
|
|
108
110
|
// 创建新会话时,需要自动刷新历史面板
|
|
109
111
|
return refreshHistoryList();
|
|
110
112
|
}
|
package/package.json
CHANGED