Describe the Bug:
ADK_SUPPRESS_EXPERIMENTAL_FEATURE_WARNINGS does not suppress experimental feature warnings, e.g. for A2A or skills.
Steps to Reproduce:
Please provide a numbered list of steps to reproduce the behavior:
- Install adk python in a docker image
- Set the env var
ADK_SUPPRESS_EXPERIMENTAL_FEATURE_WARNINGS=1
- Run a main file like this using uvicorn:
import os
import uvicorn
from google.adk.cli.fast_api import get_fast_api_app
AGENT_DIR = os.path.dirname(os.path.abspath(__file__))
app = get_fast_api_app(
agents_dir=AGENT_DIR,
web=True,
a2a=True,
)
if __name__ == "__main__":
uvicorn.run(
"main:app",
host="0.0.0.0",
port=int(os.environ.get("PORT", 8080)),
reload=True,
)
Expected Behavior:
No warnings containing UserWarning: [EXPERIMENTAL] in the logs.
Observed Behavior:
Warnings containing UserWarning: [EXPERIMENTAL] in the logs
Environment Details:
- ADK Library Version (pip show google-adk): 1.27.2
- Desktop OS:** [e.g., macOS, Linux, Windows]: linux docker image on macOS
- Python Version (python -V): 3.11.10
Model Information:
- Are you using LiteLLM: Yes
- Which model is being used: (e.g., gemini-2.5-pro): gemini-2.5-flash
🟡 Optional Information
Logs:
Example warning seen in logs:
/opt/venv/lib/python3.11/site-packages/google/adk/a2a/executor/a2a_agent_executor.py:199: UserWarning: [EXPERIMENTAL] convert_a2a_request_to_agent_run_request: ADK Implementation for A2A support (A2aAgentExecutor, RemoteA2aAgent and corresponding supporting components etc.) is in experimental mode and is subject to breaking changes. A2A protocol and SDK are themselves not experimental. Once it's stable enough the experimental mode will be removed. Your feedback is welcome.
How often has this issue occurred?:
Describe the Bug:
ADK_SUPPRESS_EXPERIMENTAL_FEATURE_WARNINGSdoes not suppress experimental feature warnings, e.g. for A2A or skills.Steps to Reproduce:
Please provide a numbered list of steps to reproduce the behavior:
ADK_SUPPRESS_EXPERIMENTAL_FEATURE_WARNINGS=1Expected Behavior:
No warnings containing
UserWarning: [EXPERIMENTAL]in the logs.Observed Behavior:
Warnings containing
UserWarning: [EXPERIMENTAL]in the logsEnvironment Details:
Model Information:
🟡 Optional Information
Logs:
Example warning seen in logs:
How often has this issue occurred?: