Skip to content

Commit 46ad36a

Browse files
authored
Sync from kubeflow/model-registry d941024 (#7301)
* Update @odh-dashboard/model-registry tracking to 0eb8a9a9a0f0499bcc32320e9b43be3fda3b61d3 (no file changes) * Update @odh-dashboard/model-registry tracking to 3f32b53d2f3014bb7e347ce3f65ee0d744317324 (no file changes) * Update @odh-dashboard/model-registry: build(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 (#2574) (resolved conflicts) Upstream commit: 82374e9c7e0df58a763c6d7e8c39d117cb334716 * Update @odh-dashboard/model-registry tracking to ee8178f9c291b3db1cdc607a1eb4d615aeb22295 (no file changes) * Update @odh-dashboard/model-registry tracking to 5adfaa81f447bf80d6d844411ddde352c376f81f (no file changes) * Update @odh-dashboard/model-registry tracking to 362f922c2f91e394c56a087840e2665ca035d375 (no file changes) * Update @odh-dashboard/model-registry tracking to cdf96eb1492230c53a75c224ccb5b559b22b6c8b (no file changes) * Update @odh-dashboard/model-registry: build(deps): bump github.com/brianvoe/gofakeit/v7 from 7.7.3 to 7.14.1 in /clients/ui/bff (#2582) (resolved conflicts) Upstream commit: a2ae88d440370a95ba2eec75fbc51070aba5a3de * Update @odh-dashboard/model-registry tracking to f381dd22e4811c6292169aee72e4810a09c18de3 (no file changes) * Update @odh-dashboard/model-registry tracking to 8c1aa8625ddbbf7284df24d6ade3de82d5c8cca2 (no file changes) * Update @odh-dashboard/model-registry tracking to 45ea1fa85df8c0759914392dc54b7476908f13ff (no file changes) * Update @odh-dashboard/model-registry tracking to 02428dcffba77754f194c3aa4ee79394a6a4d931 (no file changes) * Update @odh-dashboard/model-registry tracking to 4cf9e0ee26567ca687fa9645e6de642b5c36bc73 (no file changes) * Update @odh-dashboard/model-registry tracking to 7802ad8fde6c9a9a1d30e4709dc9dcc20965164c (no file changes) * Update @odh-dashboard/model-registry tracking to f86420bd93ae94c6105220748e6d8ee93aa509d9 (no file changes) * Update @odh-dashboard/model-registry: build(deps): bump follow-redirects from 1.15.11 to 1.16.0 in /clients/ui/frontend (#2594) Upstream commit: 11ca85710b467eb57f0be204f9d64e4adcd39a73 * Update @odh-dashboard/model-registry tracking to eafb15e251a4319dbb42f11504b24b28ae067539 (no file changes) * Update @odh-dashboard/model-registry tracking to 91862df215a74a1c8e88eefa6958ff60913d3bbe (no file changes) * Update @odh-dashboard/model-registry tracking to c30c43fa124c82702a7b7a230a3a078201c4e2af (no file changes) * Update @odh-dashboard/model-registry tracking to bc3183bbcf60e0b04b90cd8d3f24daa67f60533c (no file changes) * Update @odh-dashboard/model-registry tracking to 4174c505cc87a34e4447ce08f0f0481fe36ceb6b (no file changes) * Update @odh-dashboard/model-registry tracking to 2c408eb1ebc18f65985745e30a61eb2145bf26e6 (no file changes) * Update @odh-dashboard/model-registry tracking to 1aa73df8d3d86b124225725afc6397844db66d37 (no file changes) * Update @odh-dashboard/model-registry tracking to 2374887cdc50a7dcaa46c1593af79a9d15d16835 (no file changes) * Update @odh-dashboard/model-registry tracking to c17f5f55cf222371db8276178f704317087d9998 (no file changes) * Update @odh-dashboard/model-registry tracking to b5dd0583f496afb84ed3d78c8e78b3cacd0532d0 (no file changes) * Update @odh-dashboard/model-registry: build(deps): bump dompurify from 3.3.2 to 3.4.0 in /clients/ui/frontend (#2602) (resolved conflicts) Upstream commit: 85618f55528eea8ba310be22eeaff2e850eeb1a6 * Update @odh-dashboard/model-registry: test(ui): add unit tests for useModelVersionById hook (#2595) Upstream commit: d9aa5914253bff4f418ac05752f15c0780db4077 * Update @odh-dashboard/model-registry: chore(ui): remove license values UI mapping in model catalog (#2596) Upstream commit: bcf05624dfdf0355caaac12892d6a689deb9112b * Update @odh-dashboard/model-registry tracking to 026f423cbdb6964ac623f16a410cf05d828454c7 (no file changes) * Update @odh-dashboard/model-registry: feat(ui): bump mod-arch packages to 1.15.3 and use McpCatalogIcon (#2598) (resolved conflicts) Upstream commit: 7a380bf0e1740222f31a4f1a69f1a0a7326a660e * Update @odh-dashboard/model-registry: fix(catalog): enable independent scrolling for filter panel (#2475) (resolved conflicts) Upstream commit: d941024350a42ef5f0b047c4617ee98e85158e26 * Add mcpCatalog support to downstream design utilities The MCP servers tab page was using objectType 'model-catalog' instead of 'mcp-catalog', causing the wrong icon to display. Add the McpCatalogIcon, ProjectObjectType.mcpCatalog enum value, color mappings, and fix the navigation objectType to render the correct MCP Catalog icon. Made-with: Cursor
1 parent 4dbfc83 commit 46ad36a

22 files changed

Lines changed: 197 additions & 164 deletions

File tree

frontend/src/concepts/design/TypedObjectIcon.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import {
3535
ModelRegistrySelectIcon,
3636
ModelEvaluationIcon,
3737
LabTuningIcon,
38+
McpCatalogIcon,
3839
ModelConnectionRocketIcon,
3940
PromptManagementIcon,
4041
} from '#~/images/icons';
@@ -166,6 +167,9 @@ const TypedObjectIcon: React.FC<TypedObjectIconProps> = ({
166167
case ProjectObjectType.promptManagement:
167168
Icon = PromptManagementIcon;
168169
break;
170+
case ProjectObjectType.mcpCatalog:
171+
Icon = McpCatalogIcon;
172+
break;
169173
default:
170174
return null;
171175
}

frontend/src/concepts/design/utils.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export enum ProjectObjectType {
7676
resources = 'resources',
7777
featureStore = 'feature-store',
7878
promptManagement = 'prompt-management',
79+
mcpCatalog = 'mcp-catalog',
7980
}
8081

8182
export const typedIconColor = (objectType: ProjectObjectType): string => {
@@ -128,6 +129,7 @@ export const typedIconColor = (objectType: ProjectObjectType): string => {
128129
case ProjectObjectType.resources:
129130
return 'var(--ai-general--IconColor)';
130131
case ProjectObjectType.distributedWorkload:
132+
case ProjectObjectType.mcpCatalog:
131133
return 'var(--ai-serving--IconColor)';
132134
case ProjectObjectType.clusterSettings:
133135
case ProjectObjectType.hardwareProfile:
@@ -194,6 +196,7 @@ export const typedBackgroundColor = (objectType: ProjectObjectType): string => {
194196
case ProjectObjectType.resources:
195197
return 'var(--ai-general--BackgroundColor)';
196198
case ProjectObjectType.distributedWorkload:
199+
case ProjectObjectType.mcpCatalog:
197200
return 'var(--ai-serving--BackgroundColor)';
198201
case ProjectObjectType.clusterSettings:
199202
case ProjectObjectType.hardwareProfile:
@@ -244,6 +247,8 @@ export const typedColor = (objectType: ProjectObjectType): string => {
244247
return 'var(--ai-user--Color)';
245248
case ProjectObjectType.group:
246249
return 'var(--ai-group--Color)';
250+
case ProjectObjectType.mcpCatalog:
251+
return 'var(--ai-serving--Color)';
247252
default:
248253
return '';
249254
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { createIcon } from '@patternfly/react-icons/dist/esm/createIcon';
2+
3+
const McpCatalogIcon = createIcon({
4+
name: 'McpCatalogIcon',
5+
width: 36,
6+
height: 36,
7+
svgPath:
8+
'M7.74393,27.91583c-.1499-.06055-.33008-.06055-.47998,0-.06982.03027-.14014.08008-.19971.13965-.12012.12012-.19043.28027-.19043.44043,0,.08008.02002.16016.05029.24023.04004.06934.08008.14941.14014.19922.05957.06055.12988.11035.19971.14062.08008.0293.16016.0498.24023.0498.07959,0,.15967-.02051.23975-.0498.07031-.03027.14014-.08008.2002-.14062.06006-.0498.10986-.12988.13965-.19922.03027-.08008.04004-.16016.04004-.24023,0-.16016-.05957-.32031-.17969-.44043-.05029-.05957-.12988-.10938-.2002-.13965Z M19.94608,13.05353c-.24414-.24414-.63965-.24414-.88379,0s-.24414.64062,0,.88477l3,3c.12207.12207.28174.18262.44189.18262s.31982-.06055.44189-.18262c.24414-.24414.24414-.64062,0-.88477l-3-3Z M32.11887,9.54907c.00348-.03961.00201-.07727-.00208-.11688-.00421-.04028-.0108-.07825-.02271-.11694-.01147-.03778-.02704-.07227-.04578-.10773-.01959-.03717-.04175-.0708-.06891-.10376-.013-.01587-.01849-.0354-.03333-.05023l-2-2c-.24414-.24414-.63965-.24414-.88379,0l-5.55811,5.55859-4.86206-4.86298,3.77789-2.45319,1.70038,1.69995-2.05811,2.05762c-.24414.24414-.24414.64062,0,.88477.12207.12207.28174.18262.44189.18262s.31982-.06055.44189-.18262l2.5-2.5c.24414-.24414.24414-.64062,0-.88477l-2.5-2.5c-.01501-.01501-.03479-.02063-.0509-.03381-.03204-.02612-.06451-.04761-.10046-.06677-.03711-.01984-.07336-.03619-.11292-.04797-.03674-.01117-.07269-.01733-.1109-.02155-.0412-.00446-.08051-.00592-.12177-.00226-.03851.00336-.07489.01129-.11273.02191-.0412.0116-.07947.02661-.11804.04681-.0177.00928-.03741.01044-.0545.02161l-4.8501,3.14941c-.0188.01227-.02905.03137-.04608.04523-.01764.01416-.03912.02045-.05548.0368-.01483.01483-.02032.03436-.03333.05023-.02716.03296-.04932.06659-.06891.10376-.01874.03546-.0343.06995-.04578.10773-.0119.0387-.01849.07666-.02271.11694-.00409.03961-.00555.07727-.00208.11688.0033.03979.01154.07727.02264.11639.01135.0401.02588.07739.04541.11505.00946.01831.0108.03857.02222.05621.01001.01526.02734.021.03839.0351.01648.02142.02454.04688.04413.06647l.66791.66797c-1.27802,1.24286-2.00092,2.9339-2.00092,4.74023,0,.80157.14856,1.57648.42523,2.31549l-10.74213,10.74213c-.51904.51855-.80469,1.20898-.80469,1.94238s.28564,1.42383.80469,1.94238c.53564.53516,1.23877.80273,1.94189.80176.70312,0,1.40674-.26758,1.94189-.80176l10.74261-10.74261c.7392.27667,1.51471.42523,2.31549.42523,1.17255,0,2.32318-.31226,3.33075-.89966.00378-.00195.00726-.00348.01105-.00555.00629-.00366.01324-.0061.01953-.00983.08118-.04773.1441-.11267.19415-.18549.00348-.005.00952-.00665.01288-.01178l5.95605-9.17188c.01141-.01764.01276-.0379.02222-.05621.01953-.03766.03406-.07495.04541-.11505.01111-.03912.01935-.0766.02264-.11639ZM20.29227,18.3963c-.00348-.00159-.0072-.00098-.01074-.0025-.04962-.02148-.10193-.02765-.1546-.03564-.02856-.00433-.0564-.01617-.08484-.01654-.0423-.00055-.08264.01318-.12433.02124-.03705.0072-.07513.00775-.11011.02148-.03119.01215-.05701.03601-.08624.05334-.04108.02429-.08362.04517-.11847.07867-.00311.00299-.00732.00385-.01038.0069l-11.03027,11.03027c-.58301.58398-1.5332.58398-2.11621,0-.28271-.28223-.43848-.6582-.43848-1.05762s.15576-.77539.43848-1.05762l11.03027-11.03027c.00323-.00323.00415-.00775.00732-.01105.03339-.03479.05408-.07709.07831-.11798.0174-.02936.04126-.0553.05341-.08655.01477-.03784.01593-.07898.02313-.11908.00684-.03864.01996-.07587.01953-.11499-.00037-.03247-.01324-.06415-.0188-.09668-.00824-.0484-.01318-.09674-.03284-.14246-.00159-.00372-.00092-.00769-.00262-.01141-.31494-.69531-.47461-1.43945-.47461-2.21191,0-1.47064.59106-2.84686,1.63464-3.85645l4.29846,4.29883c.11719.11719.27588.18262.44189.18262.16553,0,.32471-.06543.44189-.18262l5.55811-5.55859,1.19977,1.20013-5.591,8.60968c-1.46442.81287-3.29688.89569-4.82068.20679Z M12.06229,16.93829c.12207.12207.28174.18262.44189.18262s.31982-.06055.44189-.18262c.24414-.24414.24414-.64062,0-.88477l-4.55811-4.55762,2.11621-2.11621,2.55811,2.55859c.24414.24414.63965.24414.88379,0s.24414-.64062,0-.88477l-3-3-3-3c-.24414-.24414-.63965-.24414-.88379,0l-3,3c-.24414.24414-.24414.64062,0,.88477l3,3,5,5ZM7.50418,6.3797l2.11578,2.11615-2.11584,2.11584-2.11615-2.11578,2.11621-2.11621Z M28.56613,25.60724c-.00061-.0014-.00116-.00262-.00177-.00403l-.00256-.00574c-.00299-.00671-.00989-.01031-.01306-.01685-.03125-.06451-.06946-.12683-.12415-.17944l-3.48682-3.35547c-.24902-.23926-.64404-.23047-.88379.0166-.23926.24902-.23193.64453.0166.88379l3.02765,2.91364-2.23761,2.23688-2.01904-2.0343-2.88721-3c-.23926-.24805-.63477-.25684-.88379-.0166-.24854.23926-.25586.63477-.0166.88379l2.89404,3.00684,2.46777,2.48633c.04333.0437.09576.07013.14716.09833.01575.00873.02521.02509.04181.03253l5.64502,2.51367c.08203.03613.16846.05371.25439.05371.16211,0,.32227-.06348.44189-.18262.18311-.18359.23438-.45996.12891-.69629l-2.50885-5.63477ZM25.94412,28.78107l1.8457-1.84473,1.48096,3.32617-3.32666-1.48145Z',
9+
xOffset: 0,
10+
yOffset: 0,
11+
});
12+
13+
export default McpCatalogIcon;

frontend/src/images/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export { default as ExperimentIcon } from './ExperimentIcon';
1414
export { default as ExploreApplicationsIcon } from './ExploreApplicationsIcon';
1515
export { default as GroupIcon } from './GroupIcon';
1616
export { default as ModelIcon } from './ModelIcon';
17+
export { default as McpCatalogIcon } from './McpCatalogIcon';
1718
export { default as ModelCatalogIcon } from './ModelCatalogIcon';
1819
export { default as ModelEvaluationIcon } from './ModelEvaluationIcon';
1920
export { default as ModelRegistryIcon } from './ModelRegistryIcon';

frontend/src/plugins/extensions/navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const extensions: (NavExtension | TabRoutePageExtension)[] = [
6868
path: '/ai-hub/mcp-servers/*',
6969
group: '2_mcp_servers',
7070
section: 'ai-hub',
71-
objectType: 'model-catalog',
71+
objectType: 'mcp-catalog',
7272
},
7373
},
7474
{

packages/model-registry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"branch": "main",
2424
"src": "clients/ui",
2525
"target": "upstream",
26-
"commit": "5ea29b0d7d1638634880651f10c48d368af84344"
26+
"commit": "d941024350a42ef5f0b047c4617ee98e85158e26"
2727
},
2828
"module-federation": {
2929
"name": "modelRegistry",

packages/model-registry/upstream/bff/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/kubeflow/model-registry/ui/bff
33
go 1.25.0
44

55
require (
6-
github.com/brianvoe/gofakeit/v7 v7.7.3
6+
github.com/brianvoe/gofakeit/v7 v7.14.1
77
github.com/google/uuid v1.6.0
88
github.com/julienschmidt/httprouter v1.3.0
99
github.com/kubeflow/model-registry/pkg/openapi v0.3.2

packages/model-registry/upstream/bff/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1
22
github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
33
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
44
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
5-
github.com/brianvoe/gofakeit/v7 v7.7.3 h1:RWOATEGpJ5EVg2nN8nlaEyaV/aB4d6c3GqYrbqQekss=
6-
github.com/brianvoe/gofakeit/v7 v7.7.3/go.mod h1:QXuPeBw164PJCzCUZVmgpgHJ3Llj49jSLVkKPMtxtxA=
5+
github.com/brianvoe/gofakeit/v7 v7.14.1 h1:a7fe3fonbj0cW3wgl5VwIKfZtiH9C3cLnwcIXWT7sow=
6+
github.com/brianvoe/gofakeit/v7 v7.14.1/go.mod h1:QXuPeBw164PJCzCUZVmgpgHJ3Llj49jSLVkKPMtxtxA=
77
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
88
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
99
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

packages/model-registry/upstream/bff/internal/mocks/static_data_mock.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ func GetCatalogModelMocks() []models.CatalogModel {
362362
Description: stringToPointer("Granite-8B-Code-Instruct is a 8B parameter model fine tuned from\nGranite-8B-Code-Base on a combination of permissively licensed instruction\ndata to enhance instruction following capabilities including logical\nreasoning and problem-solving skills."),
363363
Provider: stringToPointer("provider1"),
364364
Tasks: []string{"text-generation", "image-to-text"},
365-
License: stringToPointer("apache-2.0"),
365+
License: stringToPointer("Apache 2.0"),
366366
LicenseLink: stringToPointer("https://www.apache.org/licenses/LICENSE-2.0.txt"),
367367
Maturity: stringToPointer("Technology preview"),
368368
Language: []string{"ar", "cs", "de", "en", "es", "fr", "it", "ja", "ko", "nl", "pt", "zh"},
@@ -716,7 +716,7 @@ Granite 3.1 Instruct Models are primarily finetuned using instruction-response p
716716
Description: stringToPointer("Granite 8B Code Instruct - INT4 quantized variant for efficient inference"),
717717
Provider: stringToPointer("Provider one"),
718718
Tasks: []string{"text-generation", "image-text-to-text"},
719-
License: stringToPointer("apache-2.0"),
719+
License: stringToPointer("Apache 2.0"),
720720
Maturity: stringToPointer("Generally Available"),
721721
Language: []string{"en"},
722722
SourceId: stringToPointer("sample-source"),
@@ -729,7 +729,7 @@ Granite 3.1 Instruct Models are primarily finetuned using instruction-response p
729729
Description: stringToPointer("Granite 8B Code Instruct - INT8 quantized variant for balanced performance"),
730730
Provider: stringToPointer("IBM"),
731731
Tasks: []string{"audio-to-text", "text-to-text", "video-to-text"},
732-
License: stringToPointer("mit"),
732+
License: stringToPointer("MIT"),
733733
Maturity: stringToPointer("Generally Available"),
734734
Language: []string{"en"},
735735
SourceId: stringToPointer("sample-source"),
@@ -742,7 +742,7 @@ Granite 3.1 Instruct Models are primarily finetuned using instruction-response p
742742
Description: stringToPointer("Granite 8B Code Instruct - BF16 variant for high precision"),
743743
Provider: stringToPointer("IBM"),
744744
Tasks: []string{"text-generation", "code-generation"},
745-
License: stringToPointer("apache-2.0"),
745+
License: stringToPointer("Apache 2.0"),
746746
Maturity: stringToPointer("Generally Available"),
747747
Language: []string{"en"},
748748
SourceId: stringToPointer("sample-source"),
@@ -755,7 +755,7 @@ Granite 3.1 Instruct Models are primarily finetuned using instruction-response p
755755
Description: stringToPointer("BERT base model (uncased) - Pretrained model on English language"),
756756
Provider: stringToPointer("Google"),
757757
Tasks: []string{"audio-to-text", "text-to-text"},
758-
License: stringToPointer("apache-2.0"),
758+
License: stringToPointer("Apache 2.0"),
759759
Maturity: stringToPointer("Generally Available"),
760760
Language: []string{"en"},
761761
SourceId: stringToPointer("huggingface"),
@@ -796,7 +796,7 @@ python -c "from transformers import pipeline; nlp = pipeline('fill-mask', model=
796796
Description: stringToPointer("GPT-2 is a transformers model pretrained on a very large corpus of English data"),
797797
Provider: stringToPointer("provider3"),
798798
Tasks: []string{"video-to-text"},
799-
License: stringToPointer("mit"),
799+
License: stringToPointer("MIT"),
800800
Maturity: stringToPointer("Generally Available"),
801801
Language: []string{"en"},
802802
SourceId: stringToPointer("huggingface"),
@@ -808,7 +808,7 @@ python -c "from transformers import pipeline; nlp = pipeline('fill-mask', model=
808808
Description: stringToPointer("DistilBERT base model (uncased) - A smaller, faster version of BERT"),
809809
Provider: stringToPointer("Hugging Face"),
810810
Tasks: []string{"fill-mask", "text-classification"},
811-
License: stringToPointer("apache-2.0"),
811+
License: stringToPointer("Apache 2.0"),
812812
Maturity: stringToPointer("Generally Available"),
813813
Language: []string{"en"},
814814
SourceId: stringToPointer("huggingface"),
@@ -820,7 +820,7 @@ python -c "from transformers import pipeline; nlp = pipeline('fill-mask', model=
820820
Description: stringToPointer("sample description"),
821821
Provider: stringToPointer("Admin model 1"),
822822
Tasks: []string{"code-generation", "instruction-following"},
823-
License: stringToPointer("apache-2.0"),
823+
License: stringToPointer("Apache 2.0"),
824824
Maturity: stringToPointer("Generally Available"),
825825
Language: []string{"en"},
826826
SourceId: stringToPointer("adminModel2"),
@@ -831,7 +831,7 @@ python -c "from transformers import pipeline; nlp = pipeline('fill-mask', model=
831831
Description: stringToPointer("sample description"),
832832
Provider: stringToPointer("Admin model 2"),
833833
Tasks: []string{"text-generation", "conversational"},
834-
License: stringToPointer("apache-2.0"),
834+
License: stringToPointer("Apache 2.0"),
835835
Maturity: stringToPointer("Generally Available"),
836836
Language: []string{"en"},
837837
SourceId: stringToPointer("adminModel1"),
@@ -842,7 +842,7 @@ python -c "from transformers import pipeline; nlp = pipeline('fill-mask', model=
842842
Description: stringToPointer("Model without performance data"),
843843
Provider: stringToPointer("Test Provider"),
844844
Tasks: []string{"text-generation"},
845-
License: stringToPointer("apache-2.0"),
845+
License: stringToPointer("Apache 2.0"),
846846
Language: []string{"en"},
847847
SourceId: stringToPointer("no-perf-source"),
848848
}
@@ -855,7 +855,7 @@ python -c "from transformers import pipeline; nlp = pipeline('fill-mask', model=
855855
Description: stringToPointer("Granite-8B-Code-Instruct is a 8B parameter model fine tuned from\nGranite-8B-Code-Base on a combination of permissively licensed instruction\ndata to enhance instruction following capabilities including logical\nreasoning and problem-solving skills."),
856856
Provider: stringToPointer("provider1"),
857857
Tasks: []string{"text-generation"},
858-
License: stringToPointer("apache-2.0"),
858+
License: stringToPointer("Apache 2.0"),
859859
LicenseLink: stringToPointer("https://www.apache.org/licenses/LICENSE-2.0.txt"),
860860
Maturity: stringToPointer("Technology preview"),
861861
Language: []string{"ar", "cs", "de", "en", "es", "fr", "it", "ja", "ko", "nl", "pt", "zh"},
@@ -1711,7 +1711,7 @@ func GetFilterOptionMocks() map[string]models.FilterOption {
17111711
Values: []interface{}{
17121712
"Apache 2.0", "Gemma License", "Llama 3.1 Community License",
17131713
"Llama 3.3 Community License", "Llama 4 Community License", "MIT",
1714-
"NVIDIA Open Model License", "modified-mit",
1714+
"NVIDIA Open Model License", "Modified MIT",
17151715
},
17161716
}
17171717

0 commit comments

Comments
 (0)