Skip to content

Adding extra_headers parameters to ModelSettings #550

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonnyk20
Copy link

Added the possibility to pass extra_headers when sending a request.
I used the same implementation as was recently used for extra_body and extra_query in #500

In this implementation I added the attributes to ModelSettings as suggested here
https://github.com/openai/openai-agents-python/issues/487 .

I'll be happy to add some tests if you have any suggestions.

@jonnyk20
Copy link
Author

@rm-openai It doesn't look like I have the ability to request reviews. Is there a process I should follow?
image

@jonnyk20 jonnyk20 force-pushed the add_extra_headers_parameters branch from 0e46448 to 025d58e Compare April 19, 2025 19:25
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.

1 participant