Skip to content
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

backend: add new Cohere Platform models to seeder #790

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tianjing-li
Copy link
Collaborator

@tianjing-li tianjing-li commented Sep 25, 2024

This pull request introduces changes to two files, src/backend/database_models/seeders/deplyments_models_seed.py and src/backend/model_deployments/cohere_platform.py.

src/backend/database_models/seeders/deplyments_models_seed.py

This file undergoes the following modifications:

  • Addition of four new dictionaries: "c4ai-aya-23-35b", "command-r-08-2024", "command-r-plus-08-2024", and "c4ai-aya-23-35b". These dictionaries are nested within the ModelDeploymentName.SingleContainer and ModelDeploymentName.MultiContainer objects.

src/backend/model_deployments/cohere_platform.py

The list_models function is updated to streamline the filtering process by removing unnecessary indentation and simplifying the list comprehension.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.09%. Comparing base (5af71bb) to head (1c11081).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/backend/model_deployments/cohere_platform.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
- Coverage   79.80%   79.09%   -0.71%     
==========================================
  Files         240      246       +6     
  Lines       10515    10785     +270     
==========================================
+ Hits         8391     8530     +139     
- Misses       2124     2255     +131     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

4 participants