Skip to content

feat: Pass Auth through from AgentTool #1462

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 2 commits into
base: main
Choose a base branch
from

Conversation

calvingiles
Copy link
Contributor

@calvingiles calvingiles commented Jun 17, 2025

This captures the requested_auth_configs actions from an AgentTool run and forwards them to the caller agent.

The result of this is that an AgentTool with a tool requiring auth will trigger a credentials request at the top level. When the credentials are provided, the function call for the AgentTool call will be replayed. Without this change, the authentication request is simply swallowed.

Note: The code was NOT AI GENERATED and has been tested in our production systems.

@hangfei hangfei added bot_triaged core Issues related to the core interface and implementation labels Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot_triaged core Issues related to the core interface and implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants