Skip to content

Commit

Permalink
Update openai_compatible_server.md (vllm-project#11536)
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Mo <[email protected]>
Signed-off-by: xcnick <[email protected]>
  • Loading branch information
2 people authored and xcnick committed Dec 31, 2024
1 parent 73d0cb8 commit d17830c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/serving/openai_compatible_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,13 @@ completion = client.chat.completions.create(

## Extra HTTP Headers

Only `X-Request-Id` HTTP request header is supported for now.
Only `X-Request-Id` HTTP request header is supported for now. It can be enabled
with `--enable-request-id-headers`.

> Note that enablement of the headers can impact performance significantly at high QPS
> rates. We recommend implementing HTTP headers at the router level (e.g. via Istio),
> rather than within the vLLM layer for this reason.
> See https://github.com/vllm-project/vllm/pull/11529 for more details.
```python
completion = client.chat.completions.create(
Expand Down

0 comments on commit d17830c

Please sign in to comment.