Home / Function/ vcr_config() — langchain Function Reference

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
  6d974ea2_8ef5_53a7_5f09_aa8187be78c9["vcr_config()"]
  bb21a160_0e07_8247_2d86_89302488b86b["conftest.py"]
  6d974ea2_8ef5_53a7_5f09_aa8187be78c9 -->|defined in| bb21a160_0e07_8247_2d86_89302488b86b
  style 6d974ea2_8ef5_53a7_5f09_aa8187be78c9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/groq/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

Frequently Asked Questions

What does vcr_config() do?
vcr_config() is a function in the langchain codebase, defined in libs/partners/groq/tests/conftest.py.
Where is vcr_config() defined?
vcr_config() is defined in libs/partners/groq/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