const model = new ChatOpenAI( { modelName: "gpt-3.5-turbo", temperature: 0.2, }, { basePath: "https://oai.hconeai.com/v1", }, );
const model = new ChatOpenAI({ modelName: "gpt-3.5-turbo", temperature: 0.2, configuration: { basePath: "https://oai.hconeai.com/v1", baseOptions: { headers: { "Helicone-Auth": `Bearer ${process.env.HELICONE_API_KEY as string}`, }, }, }, });