Skip to content

Commit

Permalink
feat: adding icons to container images managed by the extension (#111)
Browse files Browse the repository at this point in the history
* feat: adding icons to container images managed by the extension

Signed-off-by: axel7083 <[email protected]>

* fix: corrupt brain.woff2

Signed-off-by: axel7083 <[email protected]>

* fix: prettier

Signed-off-by: axel7083 <[email protected]>

---------

Signed-off-by: axel7083 <[email protected]>
  • Loading branch information
axel7083 authored Jan 23, 2024
1 parent 51d9a65 commit ef57545
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
Binary file added packages/backend/brain.woff2
Binary file not shown.
19 changes: 17 additions & 2 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,23 @@
},
"main": "./dist/extension.js",
"contributes": {
"configuration": {},
"menus": {}
"icons": {
"brain-icon": {
"description": "Brain icon",
"default": {
"fontPath": "brain.woff2",
"fontCharacter": "\\E001"
}
}
},
"views": {
"icons/containersList": [
{
"when": "ia-studio-model in containerLabelKeys",
"icon": "${brain-icon}"
}
]
}
},
"scripts": {
"build": "vite build",
Expand Down
3 changes: 3 additions & 0 deletions packages/backend/src/managers/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ export class PlayGroundManager {
],
},
},
Labels: {
'ia-studio-model': modelId,
},
Cmd: ['--models-path', '/models', '--context-size', '700', '--threads', '4'],
});

Expand Down

0 comments on commit ef57545

Please sign in to comment.