Update litellm/proxy/agent_endpoints/endpoints.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Krish Dholakia 2026-03-07 18:32:24 -08:00 committed by GitHub
parent 58b66bef51
commit b861c01a20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,8 +105,7 @@ async def get_agents(
request: Request,
health_check: bool = Query(
False,
description="When true, performs a GET request to each agent's URL and only returns agents with reachable URLs.",
),
description="When true, performs a GET request to each agent's URL. Agents with reachable URLs (HTTP status < 500) and agents without a URL are returned; unreachable agents are filtered out.",
user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth), # Used for auth
):
"""