From 232921ca0ce34092c91581aab6ef378cbf8a657d Mon Sep 17 00:00:00 2001 From: Rick Staa Date: Wed, 1 Jul 2026 15:15:41 +0200 Subject: [PATCH 1/2] feat(vllm): single-shot mode + no-gateway offchain call Switch the vLLM runner to single-shot with label routing, and document calling it directly through the orchestrator (/apps/vllm/app/...) with plain curl -- no gateway.py, no SDK. Offchain-only until single-shot on-chain payment lands (go-livepeer#3955), so the on-chain section is a pending note for now. Relates to #4, #5. Co-Authored-By: Claude Opus 4.8 (1M context) --- vllm/README.md | 26 ++++++++++++++------------ vllm/runners.json | 3 ++- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/vllm/README.md b/vllm/README.md index f07a6b5..2c4f89a 100644 --- a/vllm/README.md +++ b/vllm/README.md @@ -5,7 +5,7 @@ Runs an OpenAI-compatible LLM on the Livepeer network and consumes it with the * | | | | ------------ | ------------------------------------------ | | App id | `vllm/qwen2.5-0.5b-instruct` | -| Runner mode | persistent (single-shot by nature) | +| Runner mode | single-shot | | Registration | static (orchestrator config + health poll) | | Transport | HTTP + SSE (OpenAI `/v1/chat/completions`) | | Port | 8000 (vLLM), 8080 (gateway) | @@ -40,6 +40,17 @@ curl http://localhost:8080/v1/chat/completions \ -d '{"model":"Qwen/Qwen2.5-0.5B-Instruct","messages":[{"role":"user","content":"hi"}]}' ``` +### Call it directly (no gateway) + +As a **single-shot** runner with `"routing": "label"`, vLLM is reachable straight through the orchestrator's proxy (`/apps/