give the openai lib a dummy default value to try to fix the build
This commit is contained in:
@@ -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 ?? "" });
|
||||
|
||||
Reference in New Issue
Block a user