enhancement: spike TypeSafe System One support - #1113
afourniernv wants to merge 1 commit into
Conversation
Signed-off-by: Alex Fournier <afournier@nvidia.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
|
Follow-up after looking at Switchyard #739 and #762: Relay does not need first-class System One codec support for the Switchyard integration. The boundaries are: Relay owns the outer agent-facing request and response. Switchyard owns the private Jev decision call: There is still an observability gap. The internal Jev call is not represented as a Relay LLM call, and the current plugin projection drops the selected label, probability map, and decision latency. If we pursue this in Switchyard, that should be handled through a bounded runner observation or plugin mark/metric, not a Relay codec. A Relay codec would only make sense if Relay itself chose to expose or intercept System One as a first-class public operation. That is not required for the Switchyard plugin, so closing this broader spike was the right boundary. |
Overview
This draft preserves an exploratory spike for first-class TypeSafe System One / Jev support in NeMo Relay. The current product signal is limited: the Switchyard team is experimenting with Jev for routing, but we do not currently see broad product demand. The likely outcome is to close this draft without merging after capturing feedback, while retaining the branch and design as a reference if demand emerges.
This is a technical exploration, not a production-support commitment.
Details
TypeSafeSystemOneCodecand provider-neutral evaluation request, response, question, answer, and usage types./systemone,/v1/systemone, and TypeSafe-namespaced System One and model-catalog endpoints through both direct and daemon gateway paths.Validation completed:
just test-rustjust test-pythonjust test-nodeuv run pre-commit runjev-latesttojev-1.13.0; the API credential is not stored in this branch.Where should the reviewer start?
Start with
crates/core/src/codec/typesafe_system_one.rsfor the wire contract and lossless mapping, thencrates/core/src/api/evaluation.rsfor the provider-neutral operation. Reviewcrates/cli/src/gateway/mod.rsandcrates/cli/src/typesafe_retry.rsfor routing, authentication, and retry semantics. The end-to-end rationale and usage are indocs/integrate-into-frameworks/typesafe-system-one.mdx.The main review question is whether any part of this spike should be retained upstream now, or whether the draft should simply remain a reference for a future demand-driven implementation.
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)