Skip to content

Commit 9a9f821

Browse files
rickstaaclaude
andcommitted
feat(live-runner): forward orchestrators through reserve_session
Wire the orchestrators arg from reserve_session into runner_selector so callers can pass a list (or comma-delimited string) of orchestrator URLs for runner discovery. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 81ee7be commit 9a9f821

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/livepeer_gateway/selection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ async def runner_selector(
267267

268268
async def reserve_session(
269269
*,
270+
orchestrators: Optional[Sequence[str] | str] = None,
270271
signer_url: Optional[str] = None,
271272
signer_headers: Optional[dict[str, str]] = None,
272273
discovery_url: Optional[str] = None,
@@ -277,6 +278,7 @@ async def reserve_session(
277278
payment_interval: float = 3.0,
278279
) -> LiveRunnerSession:
279280
cursor = await runner_selector(
281+
orchestrators=orchestrators,
280282
signer_url=signer_url,
281283
signer_headers=signer_headers,
282284
discovery_url=discovery_url,

0 commit comments

Comments
 (0)