diff --git a/src/lib/components/playground/Chat.svelte b/src/lib/components/playground/Chat.svelte index 6d68deb908..9c2f0077bc 100644 --- a/src/lib/components/playground/Chat.svelte +++ b/src/lib/components/playground/Chat.svelte @@ -118,7 +118,7 @@ : undefined, ...messages ].filter((message) => message), - ...(Object.keys(activeParams).length > 0 ? activeParams : {}) + ...(Object.keys(activeParams).length > 0 ? { params: activeParams } : {}) }, `${WEBUI_BASE_URL}/api` );