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 b971a1ee_0a53_aa57_c19b_643475ee326e["vcr_config()"] e3c41d95_19b2_dd92_e107_c527342dc25b["conftest.py"] b971a1ee_0a53_aa57_c19b_643475ee326e -->|defined in| e3c41d95_19b2_dd92_e107_c527342dc25b style b971a1ee_0a53_aa57_c19b_643475ee326e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/anthropic/tests/conftest.py lines 21–29
def vcr_config() -> dict:
"""Extend the default configuration coming from langchain_tests."""
config = base_vcr_config()
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/anthropic/tests/conftest.py.
Where is vcr_config() defined?
vcr_config() is defined in libs/partners/anthropic/tests/conftest.py at line 21.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free