Skip to content

Commit

Permalink
remove all, add to problem files
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Mar 25, 2024
1 parent b872b37 commit 38b3e17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion app/tri-display/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function DualLayout(props: {
}) {
return (
<div className="grid grid-cols-3 shrink">
{props.data}
{""}
{props.children}
{props.docs}
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/tri-display/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Dual() {
<input
className="fixed bottom-0 w-full max-w-md p-2 mb-8 border border-gray-300 rounded shadow-xl"
value={input}
placeholder="Say something..."
placeholder=""
onChange={handleInputChange}
/>
</form>
Expand Down

0 comments on commit 38b3e17

Please sign in to comment.