fix(ui): enable custom parameters in user settings and admin model settings (#25200)

Add missing custom={true} prop to AdvancedParams in General.svelte and
ModelSettingsModal.svelte so the 'Add Custom Parameter' option appears
consistently across all advanced parameter surfaces.

Also forward custom_params in the General.svelte save handler so custom
parameters are persisted instead of silently dropped on save.
This commit is contained in:
G30
2026-05-31 15:02:32 -07:00
committed by GitHub
parent 1608a04fa9
commit 18b1a041dd
2 changed files with 6 additions and 3 deletions
@@ -366,7 +366,7 @@
{#if showDefaultParams}
<div class="mt-2">
<AdvancedParams admin={true} bind:params={defaultParams} />
<AdvancedParams admin={true} custom={true} bind:params={defaultParams} />
</div>
{/if}
</div>