enh: image generation toggle

This commit is contained in:
Timothy Jaeryang Baek committed 2025-01-15 23:32:13 -08:00
1 parent 92022dd81f
commit a10302d909
6 files changed
+125 -2

No files matched your search

@@ -62,12 +62,15 @@
export let files = [];
export let selectedToolIds = [];
export let imageGenerationEnabled = false;
export let webSearchEnabled = false;
$: onChange({
prompt,
files,
selectedToolIds,
imageGenerationEnabled,
webSearchEnabled
});
@@ -642,6 +645,7 @@
<div class=" flex">
<div class="ml-1 self-end mb-1.5 flex space-x-1">
<InputMenu
bind:imageGenerationEnabled
bind:webSearchEnabled
bind:selectedToolIds
{screenCaptureHandler}