Repository navigation
feat(python): expose Runner target requirements - #1206
Draft
afourniernv wants to merge 4 commits into
Draft
afourniernv wants to merge 4 commits into
afourniernv wants to merge 4 commits into
Conversation
afourniernv
force-pushed
the
codex/privacy-task-retention
branch
from
November 3, 2026 21:05
bb0a01b to
ff210e6
Compare
afourniernv
force-pushed
the
codex/target-eligibility-python
branch
from
November 3, 2026 21:05
7ce4ec8 to
b3904f0
Compare
afourniernv
force-pushed
the
codex/privacy-task-retention
branch
2 times, most recently
from
November 5, 2026 19:47
f8dbd94 to
5d80ae5
Compare
Signed-off-by: Alex Fournier <afournier@nvidia.com>
Signed-off-by: Alex Fournier <afournier@nvidia.com>
Signed-off-by: Alex Fournier <afournier@nvidia.com>
Signed-off-by: Alex Fournier <afournier@nvidia.com>
afourniernv
force-pushed
the
codex/target-eligibility-python
branch
from
November 5, 2026 20:25
b3904f0 to
3ad0d77
Compare
afourniernv
force-pushed
the
codex/privacy-task-retention
branch
2 times, most recently
from
November 6, 2026 00:08
f695207 to
51f2587
Compare
This branch has not been deployed
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
Let a Python host pass trusted labels into Runner:
Runner checks the labels before routing. Omitted labels differ from
[]; neither clears retained task requirements. The result includes approved candidates and their request settings.Who makes the model calls?
Switchyard's TOML-configured clients make routing-time judge and Decision calls. The Python host makes the final answer calls, resolving returned target names to its deployments and keeping fallbacks within the approved candidates.
This draft does not accept host client callbacks. It is not the client-free factory proposal or a finished gateway integration.
Part of #1164. Based on #931; independent of #1205.
Tests
Fresh wheel: 188 Python tests passed, including four Runner tests. Strict Clippy, Ruff, mypy and formatting passed. No live provider calls during this refresh.