We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When we create a chat, we should have the option to add headers, like:
import { Configuration, OpenAIApi } from "openai"; const configuration = new Configuration({ apiKey: process.env.OPENAI_API_KEY, basePath: "https://oai.hconeai.com/v1", baseOptions: { headers: { "Helicone-Auth": `Bearer ${process.env.HELICONE_API_KEY}`, }, }); const openai = new OpenAIApi(configuration);
Thanks!
The text was updated successfully, but these errors were encountered:
Would accept a PR for this
Sorry, something went wrong.
No branches or pull requests
When we create a chat, we should have the option to add headers, like:
Thanks!
The text was updated successfully, but these errors were encountered: