agent-zero icon indicating copy to clipboard operation
agent-zero copied to clipboard

How to add Perplexity API Key as an option in the "Settings"

Open DastardlyDino opened this issue 9 months ago • 3 comments

How can I add Perplexity API as a model provider? Adding "API_KEY_PERPLEXITY=" to the .env file does not add it as an option in the "Settings"

Is there a reason it is not there already?

Image

DastardlyDino avatar Mar 03 '25 17:03 DastardlyDino

I have the same question

luisernestopoland avatar Mar 19 '25 13:03 luisernestopoland

Since it ist not implemented in the models.py it won't be shown in the settings.

Penner10000 avatar Mar 28 '25 04:03 Penner10000

Since it ist not implemented in the models.py it won't be shown in the settings.

Do adding it as a model provider in models.py automatically adds it on the UI?


I added Brave Search (which I think offers better results for AI and has a good free tier) and would be nice to have it there.

For the Perplexity thing, other than adding the keys to .env there is the need to edit python/tools/knowledge_tool.py so it can be actually used.

dpuyosa avatar Mar 28 '25 09:03 dpuyosa