We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ed079 commit c166bf1Copy full SHA for c166bf1
src/google/adk/tools/openapi_tool/openapi_spec_parser/rest_api_tool.py
@@ -253,6 +253,10 @@ def _prepare_request_params(
253
query_params: Dict[str, Any] = {}
254
header_params: Dict[str, Any] = {}
255
cookie_params: Dict[str, Any] = {}
256
+
257
+ # CUSTOM USER-AGENT
258
+ header_params["User-Agent"] = "google-adk/1.0" # You can adjust the version
259
260
261
params_map: Dict[str, ApiParameter] = {p.py_name: p for p in parameters}
262
0 commit comments