feat(relay): add Switchyard-owned HTTP dynamic plugin - #488
Draft
bbednarski9 wants to merge 4 commits into
Draft
Conversation
Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>
Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>
|
Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>
Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Moves the NeMo Relay native plugin onto a Switchyard-owned branch and workspace. The plugin is pinned to NeMo Relay commit
ca08901629e6058c2d5d65cc7708ec5264073d7bwhile Relay 0.8.0 is being released.The port uses Switchyard’s current
RoutingOutcomeAPI:runreturns the selectedModelIdand response, routing-only observations provide usage marks, and serving calls remain represented by Relay’s outer LLM lifecycle.Why
Switchyard owns the dynamic plugin, its HTTP client behavior, configuration, and release artifacts. This replaces the fork-sourced implementation with an upstream-owned branch while preserving PR 270 for comparison.
Validation
git diff --checkcargo fmt --all --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspaceuv run ruff check .uv run mypy switchyarduv run pytest tests/ -v -m "not integration"(147 passed, 2 deselected)cd docs && make publishRelated
Relates to #270
This is a draft while the remaining PR 270 review follow-ups are evaluated. PR 270 remains open for comparison.