Skip to content

Add perplexity model family#139

Merged
marcorosa merged 1 commit intodevelopfrom
models/sonar
Oct 24, 2025
Merged

Add perplexity model family#139
marcorosa merged 1 commit intodevelopfrom
models/sonar

Conversation

@marcorosa
Copy link
Copy Markdown
Member

Added

  • perplexity's sonar and sonar-pro models in AI Core are now supported

@marcorosa marcorosa requested a review from a team as a code owner October 24, 2025 12:44
@github-actions
Copy link
Copy Markdown
Contributor

The changes introduced in the llm.py file expand support for new AI models within a framework. Perplexity AI models are now integrated and compatible with the existing OpenAI completion API. This expansion enables users to utilize different model options under the Perplexity umbrella, broadening the selection available in AI applications without altering the user interface.

Walkthrough

  • New Feature: Added support for Perplexity AI models (sonar, sonar-pro) within the existing API infrastructure, facilitating broader model compatibility and choices for users.
  • Documentation: Minor comments improved to specify compatibility of Mistral and IBM models with the OpenAI completion API.
  • Style: Code comments have been rearranged for clearer readability and context on model compatibility.

Model: gpt-4o | Prompt Tokens: 519 | Completion Tokens: 154

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a friendly code review powered by AI assistance. These suggestions are helpful insights rather than definitive answers, so please take what resonates with your project goals. You're the expert on your code—AI simply offers another perspective to support your development process. Feel free to adapt, modify, or set aside any recommendations based on what serves your work best.


Always critique what AI says. Do not let AI replace YOUR I.
Model: anthropic--claude-4-sonnet | Prompt Tokens: 1231 | Completion Tokens: 885

Comment thread backend-agent/llm.py
Comment thread backend-agent/llm.py
Comment thread backend-agent/llm.py
@marcorosa marcorosa merged commit 97afa57 into develop Oct 24, 2025
7 checks passed
@marcorosa marcorosa deleted the models/sonar branch October 24, 2025 12:50
@marcorosa marcorosa mentioned this pull request Oct 24, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant