mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
The gate required a litellm. prefix on get_secret and get_secret_str, so any module importing either function directly bypassed it: 335 environment variables read under litellm/ were invisible to it. The three patterns collapse into one with the prefix optional, a negative lookbehind so attribute calls on unrelated objects cannot match, and litellm.utils. accepted since four call sites reach get_secret that way. Widening the patterns alone would demand about 320 new rows in the central reference table, most of them provider credentials that are already documented on their own provider pages. So the gate now looks across every page of the docs site rather than only that one table, which leaves 143 keys genuinely undocumented instead of 322. |
||
|---|---|---|
| .. | ||
| test_api_docs.py | ||
| test_circular_imports.py | ||
| test_env_keys.py | ||
| test_exception_types.py | ||
| test_general_setting_keys.py | ||
| test_optional_params.py | ||
| test_readme_providers.py | ||
| test_requests_lib_usage.py | ||
| test_router_settings.py | ||
| test_standard_logging_payload.py | ||