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

DeepCody: new model UI group #5950

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ const ChatModelIcon: FunctionComponent<{ model: string; className?: string }> =

/** Common {@link ModelsService.uiGroup} values. */
const ModelUIGroup: Record<string, string> = {
DeepCody: 'Mixed models',
Power: 'More powerful models',
Balanced: 'Balanced for power and speed',
Speed: 'Faster models',
Expand All @@ -387,6 +388,7 @@ const ModelUIGroup: Record<string, string> = {
}

const getModelDropDownUIGroup = (model: Model): string => {
if (model.id.includes('deep-cody')) return ModelUIGroup.DeepCody
if (model.tags.includes(ModelTag.Power)) return ModelUIGroup.Power
if (model.tags.includes(ModelTag.Balanced)) return ModelUIGroup.Balanced
if (model.tags.includes(ModelTag.Speed)) return ModelUIGroup.Speed
Expand Down
Loading