Skip to content

Commit 6d5a369

Browse files
authored
fix: add missing v1 prefix (#302)
Signed-off-by: Xunzhuo <[email protected]>
1 parent 1bd0dfe commit 6d5a369

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/source/getting_started/examples.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Test the stack's OpenAI-compatible API by querying the available models:
103103

104104
.. code-block:: bash
105105
106-
curl -o- http://localhost:30080/models
106+
curl -o- http://localhost:30080/v1/models
107107
108108
109109
Expected output:
@@ -132,7 +132,7 @@ Send a query to the OpenAI `/completion` endpoint to generate a completion for a
132132

133133
.. code-block:: bash
134134
135-
curl -X POST http://localhost:30080/completions \
135+
curl -X POST http://localhost:30080/v1/completions \
136136
-H "Content-Type: application/json" \
137137
-d '{
138138
"model": "facebook/opt-125m",

docs/source/tutorials/kv_cache.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Look for the following log message to confirm LMCache is active:
103103

104104
.. code-block:: bash
105105
106-
curl -X POST http://localhost:30080/completions \
106+
curl -X POST http://localhost:30080/v1/completions \
107107
-H "Content-Type: application/json" \
108108
-d '{
109109
"model": "mistralai/Mistral-7B-Instruct-v0.2",

tutorials/04-launch-multiple-model.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ helm install vllm vllm/vllm-stack -f tutorials/assets/values-04-multiple-models.
9595
3. Query the `/models` endpoint to verify the models:
9696

9797
```bash
98-
curl http://localhost:30080/models
98+
curl http://localhost:30080/v1/models
9999
```
100100

101101
For details on the `/models` endpoint, refer to the [README.md](README.md).

tutorials/05-offload-kv-cache.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ helm install vllm vllm/vllm-stack -f tutorials/assets/values-05-cpu-offloading.y
9191
3. Send a request to the stack and observe the logs:
9292

9393
```bash
94-
curl -X POST http://localhost:30080/completions \
94+
curl -X POST http://localhost:30080/v1/completions \
9595
-H "Content-Type: application/json" \
9696
-d '{
9797
"model": "mistralai/Mistral-7B-Instruct-v0.2",

0 commit comments

Comments
 (0)