We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfeed55 commit 380a886Copy full SHA for 380a886
1 file changed
adk/agenticlayer/agent_to_a2a.py
@@ -43,6 +43,9 @@ def to_a2a(agent: BaseAgent) -> Starlette:
43
app = to_a2a(agent)
44
# Then run with: uvicorn module:app
45
"""
46
+ # Suppress Gemini/LiteLLM warnings
47
+ os.environ.setdefault("ADK_SUPPRESS_GEMINI_LITELLM_WARNINGS", "true")
48
+
49
# Set up ADK logging to ensure logs are visible when using uvicorn directly
50
log_level = os.environ.get("LOGLEVEL", "INFO")
51
setup_adk_logger(log_level) # type: ignore
0 commit comments