Skip to content

Commit

Permalink
fix: openai fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Sep 22, 2023
1 parent bbfa7b6 commit e0cab2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/api/ai/summary/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { apiClient } from '~/lib/request'

const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
fetch,
})

export const GET = async (req: NextRequest) => {
Expand Down

1 comment on commit e0cab2f

@vercel
Copy link

@vercel vercel bot commented on e0cab2f Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

innei.in
shiro-git-main-innei.vercel.app
springtide.vercel.app
shiro-innei.vercel.app

Please sign in to comment.