fix(webui): keep automation creation intent in runtime context
This commit is contained in:
1 parent
037438e7d1
commit
458b925f86
21 files changed
+149
-20
No files matched your search
@@ -176,13 +176,9 @@ export function AutomationsSettings({
|
||||
images?: SendAttachment[],
|
||||
options?: SendOptions,
|
||||
) => onStartChat?.(
|
||||
tx(
|
||||
"settings.automations.createRequest",
|
||||
"Create an automation for this request:\n\n{{request}}",
|
||||
{ request: content.trim() },
|
||||
),
|
||||
content.trim(),
|
||||
images,
|
||||
options,
|
||||
{ ...options, intent: "create_automation" },
|
||||
activeModelPreset,
|
||||
);
|
||||
const filterLabel = filter === "all" ? tx("settings.automations.filter", "Filter") : tx("settings.automations.filteredBy", "Filter: {{status}}", {
|
||||
|
||||
Reference in new issue
Block a user