diff --git a/ui/src/routes/+page.server.ts b/ui/src/routes/+page.server.ts index 4fea1a48..1859a45c 100644 --- a/ui/src/routes/+page.server.ts +++ b/ui/src/routes/+page.server.ts @@ -21,8 +21,6 @@ export const actions = { const prompt = formData.get("prompt")?.toString(); const from_request_uuid = formData.get("from_request_uuid"); - if (!prompt) throw new Error("Prompt is required"); - const body: { prompt: string; from_request_uuid?: string } = { prompt, };