diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index af866bf..3d934bf 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -3,7 +3,7 @@ import OpenAI from "openai"; import { OpenAIStream, StreamingTextResponse } from "ai"; const openai = new OpenAI({ - apiKey: process.env.OPENAI_API_KEY ?? "", + apiKey: process.env.OPENAI_API_KEY, }); export const runtime = "edge"; diff --git a/app/tri-display/layout.tsx b/app/tri-display/layout.tsx index e2d00d2..0f1acdb 100644 --- a/app/tri-display/layout.tsx +++ b/app/tri-display/layout.tsx @@ -10,7 +10,7 @@ export default function DualLayout(props: { }) { return (
- {props.data} + {""} {props.children} {props.docs}
diff --git a/app/tri-display/page.tsx b/app/tri-display/page.tsx index f57b563..b0a0095 100644 --- a/app/tri-display/page.tsx +++ b/app/tri-display/page.tsx @@ -20,7 +20,7 @@ export default function Dual() {