This commit is contained in:
Timothy Jaeryang Baek committed 2026-06-09 22:20:06 +01:00
1 parent f6023daec8
commit 1cd4933302
3 files changed
+9 -6

No files matched your search

@@ -146,6 +146,10 @@
if (!data.done && !data.title && !isNew) return;
// Invalidate cache for ALL workspaces so re-expanding shows fresh data
wsChatsCache = new Map();
// Re-fetch immediately for any currently expanded workspaces
for (const path of expandedWorkspaces) {
fetchWorkspaceChats(path);
}
+3 -1
View File
@@ -289,8 +289,10 @@
<Toaster
position="top-right"
theme="system"
closeButton
richColors
toastOptions={{
style:
'font-size: 12px; font-family: var(--font-sans); background: transparent; border: none; box-shadow: none; border-radius: 8px; padding: 0;'
'font-size: 12px; font-family: var(--font-sans); border-radius: 8px;'
}}
/>
+2 -5
View File
@@ -190,15 +190,12 @@ async def execute_automation(automation, webhook_payload: str | None = None) ->
model=bare_model,
)
# Notify frontend
# Notify frontend (standard chat event so sidebar updates)
await emit_to_user(
automation.user_id,
{
"type": "automation:result",
"automation_id": automation.id,
"name": automation.name,
"chat_id": chat.id,
"status": "success",
"title": automation.name,
},
)