-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Updating Perplexity models. #13141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating Perplexity models. #13141
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe recent updates bring enhancements to the chat completions feature, with a version increment from "0.0.2" to "0.0.3". Additionally, the model identifiers have been updated in the constants file, reflecting newer versions of AI models. The package version has also been incremented from "0.1.1" to "0.1.2", indicating overall improvements across the components. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- components/perplexity/actions/chat-completions/chat-completions.mjs (1 hunks)
- components/perplexity/common/constants.mjs (1 hunks)
- components/perplexity/package.json (1 hunks)
Files skipped from review due to trivial changes (2)
- components/perplexity/actions/chat-completions/chat-completions.mjs
- components/perplexity/package.json
Additional comments not posted (1)
components/perplexity/common/constants.mjs (1)
3-8
: LGTM! Verify the usage of updated model names in the codebase.The updated model names in the
MODELS
array indicate an upgrade to newer versions. Ensure that all references to these model names in the codebase are updated accordingly.Verification successful
Verification Successful: Updated Model Names
The old model names were not found in the codebase, and the new model names are correctly referenced in
components/perplexity/common/constants.mjs
.
llama-3-sonar-small-32k-chat
: Not foundllama-3-70b-instruct
: Not foundllama-3.1-sonar-small-128k-online
: Foundllama-3.1-70b-instruct
: FoundScripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated model names in the codebase. # Test: Search for the old model names. Expect: No occurrences of old model names. rg --type python -e 'llama-3-sonar-small-32k-chat' -e 'llama-3-70b-instruct' # Test: Search for the new model names. Expect: Occurrences of new model names. rg --type python -e 'llama-3.1-sonar-small-128k-online' -e 'llama-3.1-70b-instruct'Length of output: 218
Script:
#!/bin/bash # Description: Verify all references to the updated model names in the codebase. # Test: Search for the old model names. Expect: No occurrences of old model names. rg -e 'llama-3-sonar-small-32k-chat' -e 'llama-3-70b-instruct' # Test: Search for the new model names. Expect: Occurrences of new model names. rg -e 'llama-3.1-sonar-small-128k-online' -e 'llama-3.1-70b-instruct'Length of output: 285
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!!
WHY
Summary by CodeRabbit
New Features
Bug Fixes