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

Fix: Add support for custom headers in HTTP tool requests #5660

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

Conversation

linznin
Copy link
Contributor

@linznin linznin commented Feb 22, 2025

Why are these changes needed?

The HttpTool in AutoGen accepts a headers parameter, but it is not being used in the actual request. This fix ensures that the headers provided by users are correctly included in HTTP requests. This resolves issues where authentication or other custom headers are required but currently ignored.

Related issue number

Closes #5638

Checks

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.

HttpTool does not use the provided headers in requests
2 participants