Skip to content

Commit e0cab2f

Browse files
committed
fix: openai fetch
1 parent bbfa7b6 commit e0cab2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/api/ai/summary/route.ts

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { apiClient } from '~/lib/request'
99

1010
const openai = new OpenAI({
1111
apiKey: process.env.OPENAI_API_KEY,
12+
fetch,
1213
})
1314

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

0 commit comments

Comments
 (0)