From 6dfdb39dfec95e7357d3122bb5d1e4807f824ee2 Mon Sep 17 00:00:00 2001 From: Alfred Francis Date: Fri, 10 Jan 2025 21:05:16 +0100 Subject: [PATCH] fix missing default parameter type value during intent creation --- frontend/app/admin/intents/[id]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/admin/intents/[id]/page.tsx b/frontend/app/admin/intents/[id]/page.tsx index 411f1136..0a8050bc 100644 --- a/frontend/app/admin/intents/[id]/page.tsx +++ b/frontend/app/admin/intents/[id]/page.tsx @@ -56,7 +56,7 @@ const IntentPage = ({ params }: { params: Promise<{ id: string }> }) => { ...prev, parameters: [...prev.parameters, { name: '', - type: '', + type: 'free_text', required: false, prompt: '' }]