diff --git a/frontend/src/lib/components/copilot/PredicateGen.svelte b/frontend/src/lib/components/copilot/PredicateGen.svelte index 7177898d37..21ec11a01e 100644 --- a/frontend/src/lib/components/copilot/PredicateGen.svelte +++ b/frontend/src/lib/components/copilot/PredicateGen.svelte @@ -71,6 +71,7 @@ Only return the expression without any wrapper. Do not explain or discuss.` ) dispatch('setExpr', result) + dispatch('updateSummary', instructions) } catch (err) { if (!abortController.signal.aborted) { sendUserToast('Could not generate summary: ' + err, true) diff --git a/frontend/src/lib/components/flows/content/BranchPredicateEditor.svelte b/frontend/src/lib/components/flows/content/BranchPredicateEditor.svelte index 4e948b4c7a..e07abfeac1 100644 --- a/frontend/src/lib/components/flows/content/BranchPredicateEditor.svelte +++ b/frontend/src/lib/components/flows/content/BranchPredicateEditor.svelte @@ -65,6 +65,7 @@ on:setExpr={(e) => { branch.expr = e.detail }} + on:updateSummary pickableProperties={stepPropPicker.pickableProperties} /> {/if} diff --git a/frontend/src/lib/components/flows/content/FlowBranchOneWrapper.svelte b/frontend/src/lib/components/flows/content/FlowBranchOneWrapper.svelte index a4c842cc71..5b9107ac29 100644 --- a/frontend/src/lib/components/flows/content/FlowBranchOneWrapper.svelte +++ b/frontend/src/lib/components/flows/content/FlowBranchOneWrapper.svelte @@ -22,7 +22,17 @@