Skip to content

Custom headers / Bearer Token from Agent Settings not being sent in requests #6

Description

@Mothilal-M

Description

In Agent Settings, when I configure custom headers or a Bearer Token, the values are saved successfully. However, when the agent makes a request, the configured headers (including the Bearer Token) are not being included in the outgoing request.


Steps to Reproduce

  1. Go to Agent Settings
  2. Add custom headers (e.g., Authorization: Bearer <token> or any custom header)
  3. Save the agent settings
  4. Trigger the agent to make a request

Expected Behavior

The configured custom headers and Bearer Token should be attached to the outgoing request.


Actual Behavior

The custom headers / Bearer Token are not present in the request — they appear to be dropped between the settings layer and the request execution.


Environment

  • Repo: agentflow-playground
  • OS: Windows 11

Additional Notes

Settings persist correctly in the UI, so the issue seems to be on the request-construction side rather than the configuration save path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions