Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/proxy/config_settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,8 @@ Size for the total number of waiting requests across deployments and workers. Te
| MAX_REQUEST_HEADER_SIZE | {/* keep-version-note: unversioned reference requested by maintainer */} Positive integer byte size for Uvicorn's h11 incomplete HTTP header buffer. **Default is 16384** (16 KiB). For example, set `MAX_REQUEST_HEADER_SIZE=131072` for 128 KiB. Applies to the default server and `--run_gunicorn` when h11 is used. Preserves automatic parser selection and is ignored by httptools, Hypercorn, and Granian. `--max_request_header_size` takes precedence. Export this variable before starting the proxy. This is not a strict total-header limit. [Further docs](./cli#--max_request_header_size). |
| MAX_TIME_TO_CLEAR_QUEUE | Maximum time in seconds to spend clearing the logging worker queue during shutdown. Default is 5.0
| LOGGING_WORKER_AGGRESSIVE_CLEAR_COOLDOWN_SECONDS | Cooldown time in seconds before allowing another aggressive clear operation when the queue is full. Default is 0.5
| MAX_STRING_LENGTH_PROMPT_IN_DB | Maximum length for strings in spend logs when sanitizing request bodies. Strings longer than this will be truncated. Default is 1000
| MAX_STRING_LENGTH_PROMPT_IN_DB | Maximum length for strings in spend logs when sanitizing request bodies. Strings longer than this will be truncated. Provider-signed reasoning fields of `/v1/responses` calls served through chat completions follow `MAX_STRING_LENGTH_PROVIDER_SIGNED_IN_DB` when it is larger. Default is 2048
| MAX_STRING_LENGTH_PROVIDER_SIGNED_IN_DB | <SinceVersion v="1.113.0" /> Maximum length of a provider-signed reasoning field (a signed Claude thinking block with its text, `redacted_thinking` data, `encrypted_content`, a Gemini thought signature) kept in a spend log row of a `/v1/responses` call that LiteLLM serves through chat completions, so a `previous_response_id` follow-up sends it back unchanged. A cut signature makes the provider reject the follow-up. A larger `MAX_STRING_LENGTH_PROMPT_IN_DB` wins, and a smaller one does not lower this limit. The 1.108 LTS line has it in releases after 1.108.15. Default is 1048576 (1 MiB)
| MAX_STRING_LENGTH_STDOUT_LOG | Maximum number of characters an INFO-or-higher log line (message or traceback) may write to stdout. A longer line keeps its head and tail around a `litellm_truncated skipped N chars` marker, which counts toward the cap. DEBUG lines are never cut, so `--detailed_debug` still prints whole payloads, and logging callbacks (OTEL, Datadog, etc.) still receive the full record. Set to 0 to disable. Default is 4096
| MAX_IN_MEMORY_QUEUE_FLUSH_COUNT | Maximum count for in-memory queue flush operations. Default is 1000
| MAX_IMAGE_URL_DOWNLOAD_SIZE_MB | Maximum size in MB for downloading images from URLs. Prevents memory issues from downloading very large images. Images exceeding this limit will be rejected before download. Set to 0 to completely disable image URL handling (all image_url requests will be blocked). Default is 50MB (matching [OpenAI's limit](https://platform.openai.com/docs/guides/images-vision?api-mode=chat#image-input-requirements))
Expand Down
Loading