give the openai lib a dummy default value to try to fix the build
This commit is contained in:
2
pnpm-lock.yaml
generated
2
pnpm-lock.yaml
generated
@@ -1,4 +1,4 @@
|
|||||||
lockfileVersion: '6.0'
|
lockfileVersion: '6.1'
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
autoInstallPeers: true
|
autoInstallPeers: true
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ import { env } from "~/env.mjs";
|
|||||||
|
|
||||||
import OpenAI from "openai";
|
import OpenAI from "openai";
|
||||||
|
|
||||||
export const openai = new OpenAI({ apiKey: env.OPENAI_API_KEY });
|
export const openai = new OpenAI({ apiKey: env.OPENAI_API_KEY ?? "" });
|
||||||
|
|||||||
Reference in New Issue
Block a user