lablup / lablup/backend.ai-webui

Filter unavailable resource preset when hideAgent is false.

Open
#2,836 0 comments 0 reactions 0 assignees View on GitHub
migration quick-capture
Dominant language
TypeScript
Stars
133
Forks
81
Avg merge
1d 11h
Merged PRs (30d)
344

Description

### Main idea

Through https://github.com/lablup/backend.ai-webui/pull/2599, we can select an agent. However, there is no logic in filtering the resource presets when selecting a specific agent. Since a maximum of 2 cores can be allocated in the above figure, only cpu01-small and cuda01-small should be enabled.

**Let's modify it so that only the available resource presets for the selected agent are enabled.**

### Alternative ideas

_No response_

### Anything else?

_No response_

JIRA Issue: FR-47

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.