give the openai lib a dummy default value to try to fix the build

This commit is contained in:
Kyle Corbitt
2023-07-31 17:39:45 -07:00
parent 51d64baae9
commit 8513924ea5
2 changed files with 2 additions and 2 deletions

2
pnpm-lock.yaml generated
View File

@@ -1,4 +1,4 @@
lockfileVersion: '6.0'
lockfileVersion: '6.1'
settings:
autoInstallPeers: true

View File

@@ -2,4 +2,4 @@ import { env } from "~/env.mjs";
import OpenAI from "openai";
export const openai = new OpenAI({ apiKey: env.OPENAI_API_KEY });
export const openai = new OpenAI({ apiKey: env.OPENAI_API_KEY ?? "" });