Skip to content

Show the engine AMI field only where an AMI is required - #409

Merged
Priyanshu-u07 merged 1 commit into
mainfrom
fix/ami-field-only-on-aws-pools
Oct 14, 2026
Merged

Priyanshu-u07 merged 1 commit into
mainfrom
fix/ami-field-only-on-aws-pools

Conversation

@Priyanshu-u07

Copy link
Copy Markdown
Collaborator

Fixes #352

Choosing vLLM on a pool that needs no AMI, such as Kubernetes, showed the Engine AMI field marked required. AMIs are only fetched for AWS pools, so it was an empty required dropdown for a value that is never sent.

requiresAmi already decided validation, the payload, and whether the AMI list is fetched. Its test file says it also gates the dropdown render, but the render had moved into configSections.tsx and checked only the engine. VllmConfig now takes amiRequired from the same requiresAmi result, so the four can no longer disagree.

This applies to every non-AWS pool, not only Kubernetes: requiresAmi already returned false for Nosana, Akash, worker and on-prem, and the field now follows it. It also stays hidden until an AWS pool is chosen, where before it showed empty because the list cannot load without one.

Signed-off-by: Priyanshu-u07 <connect.priyanshu8271@gmail.com>
@Priyanshu-u07
Priyanshu-u07 merged commit 40a0063 into main Oct 14, 2026
1 check passed
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.

Engine AMI field shows as required on Kubernetes pools

1 participant