From 2fc7960b62b1108a44667cd19691aa7492b0806a Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 28 Apr 2025 18:30:37 +0200 Subject: [PATCH] nit error message ai --- frontend/src/lib/components/copilot/IteratorGen.svelte | 2 +- frontend/src/lib/components/copilot/PredicateGen.svelte | 2 +- frontend/src/lib/components/copilot/StepInputGen.svelte | 2 +- frontend/src/lib/components/copilot/StepInputsGen.svelte | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/components/copilot/IteratorGen.svelte b/frontend/src/lib/components/copilot/IteratorGen.svelte index 644e1e7c65..cf02c9fb00 100644 --- a/frontend/src/lib/components/copilot/IteratorGen.svelte +++ b/frontend/src/lib/components/copilot/IteratorGen.svelte @@ -74,7 +74,7 @@ Only output the expression, do not explain or discuss.` ) } catch (err) { if (!abortController.signal.aborted) { - sendUserToast('Could not generate summary: ' + err, true) + sendUserToast('Could not generate iterator expression: ' + err, true) } } finally { loading = false diff --git a/frontend/src/lib/components/copilot/PredicateGen.svelte b/frontend/src/lib/components/copilot/PredicateGen.svelte index aa3a97e1de..89adfe9814 100644 --- a/frontend/src/lib/components/copilot/PredicateGen.svelte +++ b/frontend/src/lib/components/copilot/PredicateGen.svelte @@ -73,7 +73,7 @@ Only return the expression without any wrapper. Do not explain or discuss.` dispatch('updateSummary', instructions) } catch (err) { if (!abortController.signal.aborted) { - sendUserToast('Could not generate summary: ' + err, true) + sendUserToast('Could not generate predicate: ' + err, true) } } finally { loading = false diff --git a/frontend/src/lib/components/copilot/StepInputGen.svelte b/frontend/src/lib/components/copilot/StepInputGen.svelte index efc995b06b..839a73ee2d 100644 --- a/frontend/src/lib/components/copilot/StepInputGen.svelte +++ b/frontend/src/lib/components/copilot/StepInputGen.svelte @@ -130,7 +130,7 @@ Only return the expression without any wrapper.` } } catch (err) { if (!abortController.signal.aborted) { - sendUserToast('Could not generate summary: ' + err, true) + sendUserToast('Could not generate step input: ' + err, true) } } finally { loading = false diff --git a/frontend/src/lib/components/copilot/StepInputsGen.svelte b/frontend/src/lib/components/copilot/StepInputsGen.svelte index f720782e76..4b7ed8afd4 100644 --- a/frontend/src/lib/components/copilot/StepInputsGen.svelte +++ b/frontend/src/lib/components/copilot/StepInputsGen.svelte @@ -113,7 +113,7 @@ input_name2: expression2 generatedExprs?.set(exprs) } catch (err) { if (!abortController.signal.aborted) { - sendUserToast('Could not generate summary: ' + err, true) + sendUserToast('Could not generate step inputs: ' + err, true) } } finally { loading = false