Skip to content

ADK using print in mcp_session_manager.py #4320

@pgaur-chwy

Description

@pgaur-chwy

🔴 Required Information

Describe the Bug:
ADK using print in mcp_session_manager.py on session close

Steps to Reproduce:
None

Expected Behavior:
Use logger instead

Observed Behavior:
Warning shows up as error in logs.

Environment Details:

  • ADK Library Version (pip show google-adk): 1.22.1
  • Desktop OS:** [e.g., macOS, Linux, Windows]
  • Python Version (python -V):

Model Information:

  • Are you using LiteLLM: Yes
  • Which model is being used: (e.g., gemini-2.5-pro)

🟡 Optional Information

Providing this information greatly speeds up the resolution process.

Regression:
Did this work in a previous version of ADK? If so, which one? No

Logs:

Screenshots / Video:
Image

Additional Context:
Add any other context about the problem here.

Minimal Reproduction Code:
Please provide a code snippet or a link to a Gist/repo that isolates the issue.

// Code snippet here

How often has this issue occurred?:

  • Always (100%)

Metadata

Metadata

Assignees

No one assigned

    Labels

    mcp[Component] Issues about MCP supporttools[Component] This issue is related to tools

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions