Skip to content

Commit

Permalink
fix: adding maxDuration for chat api
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensigo committed Oct 11, 2023
1 parent 434fcec commit befb6d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/v2/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { env } from "@/env.mjs";
import { authOptions, getServerAuthSession } from "@/server/auth";
import { type IncomingMessage } from "http";


export const maxDuration = 100;

const config = new Configuration({
apiKey: env.OPEN_AI,
Expand Down

0 comments on commit befb6d7

Please sign in to comment.