Skip to content

fix(api): add b200 accelerator to OpenAPI spec enum#455

Merged
mchmarny merged 1 commit intomainfrom
fix/api-b200-accelerator
Mar 21, 2026
Merged

fix(api): add b200 accelerator to OpenAPI spec enum#455
mchmarny merged 1 commit intomainfrom
fix/api-b200-accelerator

Conversation

@nvidiajeff
Copy link
Copy Markdown
Contributor

Summary

  • Add b200 to the accelerator enum in all 6 occurrences in api/aicr/v1/server.yaml
  • The B200 accelerator is fully supported in the CLI (pkg/recipe/criteria.go defines CriteriaAcceleratorB200) but was missing from the OpenAPI spec, meaning the API server would reject ?accelerator=b200 requests

Test plan

  • make lint — passes
  • go test -race ./pkg/api/... — passes
  • Verified all 6 enum instances updated (GET /v1/recipe accelerator + gpu, GET /v1/query accelerator + gpu, RecipeCriteria schema)

@nvidiajeff nvidiajeff requested a review from a team as a code owner March 21, 2026 04:54
@github-actions
Copy link
Copy Markdown

Coverage Report ✅

Metric Value
Coverage 73.7%
Threshold 70%
Status Pass
Coverage Badge
![Coverage](https://img.shields.io/badge/coverage-73.7%25-green)

No Go source files changed in this PR.

@mchmarny mchmarny merged commit 0d267c9 into main Mar 21, 2026
18 checks passed
@mchmarny mchmarny deleted the fix/api-b200-accelerator branch March 21, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants