export const openai = createOpenAI({ apiKey: env.OPENAI_API_KEY, baseURL: "https://oai.hconeai.com", headers: { "Helicone-Auth": `Bearer ${env.HELICONE_API_KEY}`, "Helicone-Property-Environment": process.env.NODE_ENV ?? "development", }, });
APICallError [AI_APICallError]: Unknown request URL: POST /chat/completions. Please check the URL for typos, or see the docs at https://platform.openai.com/docs/api-reference/.