vLLM as a first-class Langflow model provider, packaged as a standalone Extension Bundle.
Project description
lfx-vllm
vLLM as a first-class Langflow model provider, packaged as a standalone Extension Bundle.
Registers a vLLM model provider that appears in Langflow's unified model
picker alongside the built-in providers. vLLM serves an OpenAI-compatible HTTP
API, so the provider reuses the ChatOpenAI / OpenAIEmbeddings classes and
discovers the served models live from the server's /v1/models endpoint — the
same model is therefore offered in both the Language Model and Embedding
Model contexts.
Unlike a component bundle, this ships no component: it contributes a
provider through the providers[] block in extension.json, which Langflow's
provider registry merges into the unified model system. It edits no Langflow
core files.
Configure
Set the vLLM endpoint (and, if your server requires it, an API key) under Settings → Model Providers → vLLM, or via environment variables:
VLLM_API_BASE— base URL of your vLLM server, e.g.http://localhost:8000(required).VLLM_API_KEY— bearer token, if your server enforces one (optional; servers without auth do not need it).
Install
pip install lfx-vllm
The bundle is registered automatically via the langflow.extensions
entry-point. Restart your Langflow server and select vLLM in any Language
Model or Embedding Model field.
Develop
cd src/bundles/vllm
pip install -e .
lfx extension validate src/lfx_vllm
Credit
Inherits the original vLLM provider contributed in #13910 by Yash Pareek (@pareek-ml). This bundle reconstructs that work on the provider-registry extension point so it ships without editing Langflow core.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lfx_vllm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lfx_vllm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f4420f08472914d97c67be07de5612b3562f16be8797b018e8f2874f9c9f55a
|
|
| MD5 |
fd1d6fbc598e541e0f4079cef0d617f9
|
|
| BLAKE2b-256 |
738faade869eae80d2e7f6796488c0392f34e48d768c50deb71e6030e828f3ca
|