I was trying to integrate Perplexity.ai in Leo AI. I successfully integrated OpenAI and it worked, but I wanted to move to Perplexity and for now I have no luck:
My configuration:
The error is in Polish and can be translated as: “There was a network issue connecting to Leo; check your connection and try again.”
Unfortunately it returns an error while trying to use it:
However, I noticed that when I open Leo AI and use it on Settings page of Brave, it works:
I tried using different sites for summarization (Polish and English ones). Zero issues when I use OpenAI API directly.
[edit]
I was thinking about that error and I have a concern why it even says “There was a network issue connecting TO Leo”? Does it mean that Leo sidebar component does not connect directly to the API URL using OpenAI library, but proxies the data with my private API key to some server?