base_vcr_config() — langchain Function Reference
Architecture documentation for the base_vcr_config() function in conftest.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 6ed2db1a_eb51_0c49_9cd1_8afcb22dfe5a["base_vcr_config()"] 4159e649_0289_4167_86d9_2e12affd22da["conftest.py"] 6ed2db1a_eb51_0c49_9cd1_8afcb22dfe5a -->|defined in| 4159e649_0289_4167_86d9_2e12affd22da 88aef98b_aeee_8f15_60e1_aa476eb11866["_base_vcr_config()"] 88aef98b_aeee_8f15_60e1_aa476eb11866 -->|calls| 6ed2db1a_eb51_0c49_9cd1_8afcb22dfe5a ce391cb4_1c16_3c62_7f84_688f6e337675["vcr_config()"] ce391cb4_1c16_3c62_7f84_688f6e337675 -->|calls| 6ed2db1a_eb51_0c49_9cd1_8afcb22dfe5a style 6ed2db1a_eb51_0c49_9cd1_8afcb22dfe5a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/standard-tests/langchain_tests/conftest.py lines 102–115
def base_vcr_config() -> dict[str, Any]:
"""Return VCR configuration that every cassette will receive.
(Anything permitted by `vcr.VCR(**kwargs)` can be put here.)
"""
return {
"record_mode": "once",
"filter_headers": _BASE_FILTER_HEADERS.copy(),
"match_on": ["method", "uri", "body"],
"allow_playback_repeats": True,
"decode_compressed_response": True,
"cassette_library_dir": "tests/cassettes",
"path_transformer": VCR.ensure_suffix(".yaml"),
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does base_vcr_config() do?
base_vcr_config() is a function in the langchain codebase, defined in libs/standard-tests/langchain_tests/conftest.py.
Where is base_vcr_config() defined?
base_vcr_config() is defined in libs/standard-tests/langchain_tests/conftest.py at line 102.
What calls base_vcr_config()?
base_vcr_config() is called by 2 function(s): _base_vcr_config, vcr_config.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free