I think everything that's OpenAI-specific is inside modelProviders at this point, so we can get started adding more providers.
6 lines
130 B
TypeScript
6 lines
130 B
TypeScript
import { env } from "~/env.mjs";
|
|
|
|
import OpenAI from "openai";
|
|
|
|
export const openai = new OpenAI({ apiKey: env.OPENAI_API_KEY });
|