You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On nextjs 13.4.7 (and above), this app will not compile/build successfully when using npm run build, however works in it works when in local dev mode, and works when deploying via one click to Vercel from the (templates)[https://vercel.com/templates] page.
It appears to be related to CompletionCreateParams which is being used/imported in the api/chat/functions.ts file. The linter error states that this has been deprecated and to use ChatCompletionCreateParams instead .. which I tried, and that successfully makes linter errors go away ... however then I get this error at build time:
The text was updated successfully, but these errors were encountered:
On nextjs 13.4.7 (and above), this app will not compile/build successfully when using
npm run build
, however works in it works when in local dev mode, and works when deploying via one click to Vercel from the (templates)[https://vercel.com/templates] page.It appears to be related to
CompletionCreateParams
which is being used/imported in theapi/chat/functions.ts
file. The linter error states that this has been deprecated and to useChatCompletionCreateParams
instead .. which I tried, and that successfully makes linter errors go away ... however then I get this error at build time:The text was updated successfully, but these errors were encountered: