Perplexity as an extension of Voice Assistant capabilities

I found a new way to configure Perplexity without LiteLLM.
Use this plugin: GitHub - jekalmin/extended_openai_conversation: Home Assistant custom component of conversation agent. It uses OpenAI to control your devices.
Configure new service with:

  • LLM Provider: OpenAI
  • Base URL: https://api.perplexity.ai
  • API Key: your-api-key
  • model: sonar or sonar-pro
  • Choose the API to expose to the LLM: No control
  • Custom LLM API Agents: select only “Enable LLM Agent”
  • I’m using only instructions_prompt
  • other prompts can not be empty so I used “.”

This setup is for chat and it’s working. I did not test if sonar is able to control “Assist”.