From 5406b4d5e39a10f166b04cb4e35094be8d782311 Mon Sep 17 00:00:00 2001 From: naman agarwal Date: Tue, 14 Jan 2025 17:15:48 -0500 Subject: [PATCH] remove string + mimetype on frontend --- .../ui/src/playground/form/PlaygroundTypeReferenceForm.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/fern-docs/ui/src/playground/form/PlaygroundTypeReferenceForm.tsx b/packages/fern-docs/ui/src/playground/form/PlaygroundTypeReferenceForm.tsx index f59cbf3482..27d46ce546 100644 --- a/packages/fern-docs/ui/src/playground/form/PlaygroundTypeReferenceForm.tsx +++ b/packages/fern-docs/ui/src/playground/form/PlaygroundTypeReferenceForm.tsx @@ -155,8 +155,6 @@ export const PlaygroundTypeReferenceForm = disabled={disabled} /> ) : property?.key === "user_audio_chunk" || // TODO(naman): remove hardcoding for ElevenLabs once the backend mimeType is plumbed through - (primitive.value.type === "string" && - primitive.value.mimeType?.startsWith("audio/")) || (primitive.value.type === "base64" && primitive.value.mimeType?.startsWith("audio/")) ? (