test(env_keys): exclude internal streaming tuning vars from documentation checks

Add ANTHROPIC_MESSAGES_MAX_DETACHED_STREAM_DRAINS and ANTHROPIC_MESSAGES_STREAM_RELAY_QUEUE_MAXSIZE to the excluded set. These are advanced internal infrastructure parameters for streaming/queue management with sensible defaults that most users should not modify.
This commit is contained in:
nuernber 2026-08-06 09:36:53 -07:00
parent 739447fa4b
commit 321779138e

View file

@ -33,6 +33,13 @@ EXCLUDED_ROLLOUT_FLAGS = {
"LITELLM_RUST",
}
# Internal infrastructure tuning parameters for streaming/queue management
# These are advanced settings with sensible defaults that most users should not modify
EXCLUDED_INTERNAL_TUNING_VARS = {
"ANTHROPIC_MESSAGES_MAX_DETACHED_STREAM_DRAINS",
"ANTHROPIC_MESSAGES_STREAM_RELAY_QUEUE_MAXSIZE",
}
EXCLUDED_TERMINAL_VARS = {
"TERM",
"TERM_PROGRAM",
@ -50,7 +57,9 @@ EXCLUDED_TERMINAL_VARS = {
"ALACRITTY_SOCKET",
}
EXCLUDED_KEYS = frozenset(EXCLUDED_TERMINAL_VARS | EXCLUDED_GUARD_ONLY_VARS | EXCLUDED_ROLLOUT_FLAGS)
EXCLUDED_KEYS = frozenset(
EXCLUDED_TERMINAL_VARS | EXCLUDED_GUARD_ONLY_VARS | EXCLUDED_ROLLOUT_FLAGS | EXCLUDED_INTERNAL_TUNING_VARS
)
# Directories to skip (dependencies, venvs, caches) - only scan litellm source
SKIP_DIRS = {