diff --git a/frontend/src/lib/components/copilot/RegexGen.svelte b/frontend/src/lib/components/copilot/RegexGen.svelte index c9f291b21a..fc9919019e 100644 --- a/frontend/src/lib/components/copilot/RegexGen.svelte +++ b/frontend/src/lib/components/copilot/RegexGen.svelte @@ -4,7 +4,7 @@ import { getNonStreamingCompletion } from './lib' import { sendUserToast } from '$lib/toast' - import Popup from '../common/popup/Popup.svelte' + import Popover from '$lib/components/meltComponents/Popover.svelte' import { copilotInfo } from '$lib/stores' import { autoPlacement } from '@floating-ui/core' @@ -91,7 +91,7 @@ } - - + - {/each} - + }} + disabled={funcDesc?.length <= 0} + iconOnly + startIcon={{ icon: Wand2 }} + /> - {/if} - - {:else} -

- Enable Windmill AI in the - workspace settings - -

- {/if} - -
+ {#if promptHistory.length > 0} +
+ {#each promptHistory as p} + + {/each} + +
+ {/if} + + {:else} +

+ Enable Windmill AI in the + workspace settings + +

+ {/if} + + +