This commit is contained in:
Chester Curme 2025-05-20 11:13:16 -04:00
parent 44bbdab6a6
commit 0f28c5ca18

View File

@ -1,5 +1,5 @@
import pytest
from langchain_tests.conftest import _base_vcr_config
from langchain_tests.conftest import _base_vcr_config as _base_vcr_config
_EXTRA_HEADERS = [
("openai-organization", "PLACEHOLDER"),
@ -7,13 +7,13 @@ _EXTRA_HEADERS = [
]
def remove_response_headers(response):
def remove_response_headers(response: dict) -> dict:
response["headers"] = {}
return response
@pytest.fixture(scope="session")
def vcr_config(_base_vcr_config: dict) -> dict:
def vcr_config(_base_vcr_config: dict) -> dict: # noqa: F811
"""
Extend the default configuration coming from langchain_tests.
"""