Help on ERROR API status error from OpenAI API - (quick start)

Hello - Need a bit of help…
Getting - ERROR API status error from OpenAI API: on

agent = Agent(model=Perplexity(id="sonar-pro"),
              markdown=True)
agent.print_response("Share a 2 sentence horror story")

Raw calls to Perplexity and OpenAI work as expected.
All help would appreciated

NVM - figured it out - the api key must be explicitly passed :person_facepalming:

Hey @tincup, great to hear that you solved it. Please let us know if you have any other doubts, we are here to help