google / google/adk-web

Allow user-provided API key at runtime with OpenAPI tools

Open
#19 2 comments 0 reactions 1 assignee Claimed by @wyf7107 View on GitHub
enhancement
Dominant language
TypeScript
Stars
1k
Forks
267
Avg merge
1d 12h
Merged PRs (30d)
9

Description

Is it possible for tools created with the OpenAPIToolset to use API keys provided by the user in chat?

Currently it seems that the auth_credential can only be set upon initialization. When using the adk api_server, this means credentials are shared between users since there is only one root_agent per app.

It would be helpful to support user-provided API keys at runtime, so that each user’s credentials can be used only within their own session. Could this feature be added, or is there a recommended pattern for handling per-user credentials in this scenario?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.