adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

OpenAPIToolset does not provide a way to use a different CA (eg. Enterprise TLS proxy)

Open asnowfix opened this issue 1 month ago • 0 comments

** Please make sure you read the contribution guide and file the issues in the right place. ** Contribution guide.

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When behind my entreprise (transparent) proxy, the TLS certificate is modified & uses a different CA. It is very common practice for Python developers to set the verify parameter to the IT-provided CA file. This is implemented by both the httpx & request libraries.

However, OpenAPIToolset disallows this parameter as kwargs:

ERROR    a2a.Weather_agent Failed to load OpenAPI toolset for 'weather': OpenAPIToolset.__init__() got an unexpected keyword argument 'verify'                                                           

Describe the solution you'd like A clear and concise description of what you want to happen.

Allow the verify parameter with values already supported by httpx/request.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Use LangGraoh

Additional context Add any other context or screenshots about the feature request here.

This Issue relates to our enterprise usage attempt of ADK:

  • https://github.com/google/adk-python/issues/3720
  • https://github.com/google/adk-python/issues/3779
  • https://github.com/google/adk-python/issues/3780
  • https://github.com/google/adk-python/issues/3782

asnowfix avatar Nov 26 '25 15:11 asnowfix