mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
feat: add disable_default_user_agent flag
Add litellm.disable_default_user_agent global flag to control whether the automatic User-Agent header is injected into HTTP requests.
This commit is contained in:
parent
45954155d7
commit
fe184936ff
1 changed files with 1 additions and 0 deletions
|
|
@ -254,6 +254,7 @@ disable_streaming_logging: bool = False
|
|||
disable_token_counter: bool = False
|
||||
disable_add_transform_inline_image_block: bool = False
|
||||
disable_add_user_agent_to_request_tags: bool = False
|
||||
disable_default_user_agent: bool = False # Option to disable automatic User-Agent header injection
|
||||
extra_spend_tag_headers: Optional[List[str]] = None
|
||||
in_memory_llm_clients_cache: "LLMClientCache"
|
||||
safe_memory_mode: bool = False
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue