allow setting agent job assignment url (#4512)

This commit is contained in:
Paul Wells
2026-05-07 13:13:21 -07:00
committed by GitHub
parent ba366fc712
commit 12fff29a12
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ func (h *AgentHandler) JobRequest(ctx context.Context, job *livekit.Job) (*rpc.J
logger := logger.WithValues("workerID", selected.ID)
attempted[selected] = struct{}{}
state, err := selected.AssignJob(ctx, job)
state, err := selected.AssignJob(ctx, job, nil)
switch state.GetStatus() {
case livekit.JobStatus_JS_RUNNING:
logger.Infow("assigned job to worker", "apiKey", selected.APIKey())