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

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 ?? "" });