enh: image generation toggle

This commit is contained in:
Timothy Jaeryang Baek
2025-01-15 23:32:13 -08:00
parent 92022dd81f
commit a10302d909
6 changed files with 125 additions and 2 deletions

View File

@@ -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}