diff --git a/litellm/proxy/managed_agents_endpoints/sessions.py b/litellm/proxy/managed_agents_endpoints/sessions.py index 9d4f208003b..7befd8b4da0 100644 --- a/litellm/proxy/managed_agents_endpoints/sessions.py +++ b/litellm/proxy/managed_agents_endpoints/sessions.py @@ -146,7 +146,7 @@ async def get_session_endpoint( row = await get_session( prisma_client, session_id=session_id, - created_by=user_api_key_dict.user_id, + created_by=user_api_key_dict.user_id or _DEFAULT_CREATED_BY, ) if not row: