The OpenAI API key
The Helicone API key for logging
The Helicone base logging endpoint URL
The account address for logging purposes
The environment name for logging purposes
The agent request for logging purposes
Custom properties to add as Helicone headers
Configuration object for OpenAI constructor with logging enabled
Creates an OpenAI client configuration with logging enabled
Usage: const openai = new OpenAI(withOpenAI(apiKey, heliconeApiKey, heliconeBaseLoggingUrl, accountAddress, agentRequest, customProperties));