[GH-ISSUE #1990] [BUG]: Error when using Perplexity Online models #1296

Closed
opened 2026-02-22 18:24:09 -05:00 by yindo · 1 comment
Owner

Originally created by @jmbenedetto on GitHub (Jul 28, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1990

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Perplexity online models return an error message, as if the model was not available in Perplexity.

"400 Invalid model 'llama-3-sonar-large-32k-online*'. Permitted models can be found in the documentation at https://docs.perplexity.ai/docs/model-cards."
Screenshot 2024-07-28 at 3 51 28 PM

Are there known steps to reproduce?

  • Go to space settings.
  • Go to chat settings.
  • In "Workspace LL Provider" select Perplexity AI.
  • In "Workspace Chat model" select any online model.
Screenshot 2024-07-28 at 3 51 52 PM
Originally created by @jmbenedetto on GitHub (Jul 28, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1990 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Perplexity online models return an error message, as if the model was not available in Perplexity. "400 Invalid model 'llama-3-sonar-large-32k-online\*'. Permitted models can be found in the documentation at https://docs.perplexity.ai/docs/model-cards." <img width="766" alt="Screenshot 2024-07-28 at 3 51 28 PM" src="https://github.com/user-attachments/assets/62cf7cdf-a629-4385-8a13-e8944933fb6f"> ### Are there known steps to reproduce? - Go to space settings. - Go to chat settings. - In "Workspace LL Provider" select Perplexity AI. - In "Workspace Chat model" select any online model. <img width="1352" alt="Screenshot 2024-07-28 at 3 51 52 PM" src="https://github.com/user-attachments/assets/f2fcf206-1281-4c6e-8ed1-d0d08f421da2">
yindo added the possible bug label 2026-02-22 18:24:09 -05:00
yindo closed this issue 2026-02-22 18:24:09 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jul 28, 2024):

Looks like the sync script did not omit their bold text. We have to manually update their model listing because for some reason they will not provide a /models endpoint. Will patch now. If you are on desktop it will be present in the next update.

https://github.com/Mintplex-Labs/anything-llm/blob/ae58a2cb0db7c74d9c43c3f8ac748725e28ab31c/server/utils/AiProviders/perplexity/models.js#L2

@timothycarambat commented on GitHub (Jul 28, 2024): Looks like the sync script did not omit their bold text. We have to manually update their model listing because for _some reason_ they will not provide a `/models` endpoint. Will patch now. If you are on desktop it will be present in the next update. https://github.com/Mintplex-Labs/anything-llm/blob/ae58a2cb0db7c74d9c43c3f8ac748725e28ab31c/server/utils/AiProviders/perplexity/models.js#L2
yindo changed title from [BUG]: Error when using Perplexity Online models to [GH-ISSUE #1990] [BUG]: Error when using Perplexity Online models 2026-06-05 14:39:59 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1296