From eb5214ee7681b09d9a4903113fc71ef6e61c6b68 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 25 Feb 2026 22:27:11 +0000 Subject: [PATCH] docs: clarify x-litellm-tags header format is comma-separated string HTTP headers are always strings, not arrays. Remove misleading array format documentation for the header parameter. Co-authored-by: Ishaan Jaff --- docs/my-website/docs/proxy/request_tags.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/my-website/docs/proxy/request_tags.md b/docs/my-website/docs/proxy/request_tags.md index f483c9db922..fe3ecb87a9b 100644 --- a/docs/my-website/docs/proxy/request_tags.md +++ b/docs/my-website/docs/proxy/request_tags.md @@ -50,7 +50,7 @@ curl -X POST 'http://0.0.0.0:4000/chat/completions' \ ### Option 2: Use `x-litellm-tags` Header -Pass tags dynamically via the `x-litellm-tags` header: +Pass tags dynamically via the `x-litellm-tags` header as a comma-separated string: ```bash curl -X POST 'http://0.0.0.0:4000/chat/completions' \ @@ -63,9 +63,7 @@ curl -X POST 'http://0.0.0.0:4000/chat/completions' \ }' ``` -The header accepts: -- **Comma-separated string**: `"tag1,tag2,tag3"` (spaces are trimmed) -- **Array of strings**: `["tag1", "tag2", "tag3"]` +Format: Comma-separated string (spaces are automatically trimmed): `"tag1,tag2,tag3"` ### Option 3: Use Request Body `tags`