Skip to content
New issue

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

Add customHeaders to configuration #263

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Add customHeaders to configuration #263

merged 1 commit into from
Feb 17, 2025

Conversation

nezhyborets
Copy link
Collaborator

What

Add new field to OpenAI.Configuration to let users set custom headers.

Why

We support different providers, and they may require headers that are not set by SDK by default.

Affected Areas

OpenAI.Configuration, building requests

Use it to build requests
@nezhyborets nezhyborets merged commit 762d8ea into main Feb 17, 2025
5 checks passed
@nezhyborets nezhyborets deleted the feat/custom-headers branch February 17, 2025 18:09
wangqi pushed a commit to wangqi/OpenAI that referenced this pull request Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants