Skip to content

Commit

Permalink
ci: fix ci error issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 24, 2023
1 parent 1818025 commit b381b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/completion/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { OpenAIStream, StreamingTextResponse } from 'ai';

// Create an OpenAI API client (that's edge friendly!)
const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
apiKey: process.env.OPENAI_API_KEY || '',
});

// Set the runtime to edge for best performance
Expand Down

0 comments on commit b381b0c

Please sign in to comment.