mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
dont freeze UI on error
This commit is contained in:
committed by
Thomas Krijnen
parent
252bd6f4f6
commit
d7de4f8df0
+1
-1
@@ -250,7 +250,7 @@ sendBtn.onclick = async () => {
|
||||
await runAgentTurn(text);
|
||||
setBusy(false, "Ready");
|
||||
} catch (e) {
|
||||
setBusy(true, "Error");
|
||||
setBusy(false, "Error");
|
||||
addMessage("assistant", `Error: ${e.message}`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user