diff --git a/src/lib/components/chat/Settings/Valves.svelte b/src/lib/components/chat/Settings/Valves.svelte index d834bd014..53d5a5686 100644 --- a/src/lib/components/chat/Settings/Valves.svelte +++ b/src/lib/components/chat/Settings/Valves.svelte @@ -211,7 +211,7 @@ placeholder={valvesSpec.properties[property].title} bind:value={valves[property]} autocomplete="off" - required={(valvesSpec?.required ?? []).includes(property)} + required /> diff --git a/src/lib/components/workspace/ValvesModal.svelte b/src/lib/components/workspace/ValvesModal.svelte index 9a3bc03a9..c6d139507 100644 --- a/src/lib/components/workspace/ValvesModal.svelte +++ b/src/lib/components/workspace/ValvesModal.svelte @@ -149,7 +149,7 @@ placeholder={valvesSpec.properties[property].title} bind:value={valves[property]} autocomplete="off" - required={(valvesSpec?.required ?? []).includes(property)} + required />