vcr_config() — langchain Function Reference
Architecture documentation for the vcr_config() function in conftest.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 8a3a64e6_6ca1_0142_15b8_5e596ab7fb04["vcr_config()"] 10fe675e_8466_484d_e72f_91cba70918a5["conftest.py"] 8a3a64e6_6ca1_0142_15b8_5e596ab7fb04 -->|defined in| 10fe675e_8466_484d_e72f_91cba70918a5 style 8a3a64e6_6ca1_0142_15b8_5e596ab7fb04 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/conftest.py lines 30–38
def vcr_config() -> dict:
"""Extend the default configuration coming from langchain_tests."""
config = base_vcr_config()
config.setdefault("filter_headers", []).extend(_EXTRA_HEADERS)
config["before_record_request"] = remove_request_headers
config["before_record_response"] = remove_response_headers
config["serializer"] = "yaml.gz"
config["path_transformer"] = VCR.ensure_suffix(".yaml.gz")
return config
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does vcr_config() do?
vcr_config() is a function in the langchain codebase, defined in libs/partners/openai/tests/conftest.py.
Where is vcr_config() defined?
vcr_config() is defined in libs/partners/openai/tests/conftest.py at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free