Skip to content

Add STRANDS_AGENT_BEARER_TOKEN support for remote requests (Amazon Bedrock AgentCore Runtime)#2

Open
eercanayar wants to merge 1 commit intoCopilotKit:mainfrom
eercanayar:fix/add-bearer-token-support
Open

Add STRANDS_AGENT_BEARER_TOKEN support for remote requests (Amazon Bedrock AgentCore Runtime)#2
eercanayar wants to merge 1 commit intoCopilotKit:mainfrom
eercanayar:fix/add-bearer-token-support

Conversation

@eercanayar
Copy link

Add STRANDS_AGENT_BEARER_TOKEN support for Amazon Bedrock AgentCore Runtime

Description

Adds bearer token authentication support to the HttpAgent configuration. This is required to make the Build chat experiences with AG-UI and CopilotKit tutorial work when deploying agents to Amazon Bedrock AgentCore Runtime.

Changes

  • Conditionally adds Authorization: Bearer <token> header when STRANDS_AGENT_BEARER_TOKEN environment variable is set

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