docs(agents): drop the comment claiming admins skip the A2A permission check
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled

The check has never had an admin bypass on this path, so the comment
described behaviour the code does not implement.
This commit is contained in:
Joshua Valluru 2026-09-29 18:24:27 -07:00
parent d462634aea
commit da39768d63

View file

@ -597,7 +597,6 @@ async def get_agent_card(
if agent is None:
raise HTTPException(status_code=404, detail=f"Agent '{agent_id}' not found")
# Check agent permission (skip for admin users)
is_allowed: Final = await AgentRequestHandler.is_agent_allowed(
agent_id=agent.agent_id,
user_api_key_auth=user_api_key_dict,