Build an Agent from Scratch (second video)

How does the line client=OpenAI() apparently run without an api key in the video?