Update VCR configuration to use 'host' instead of 'bedrock_host' for request matching

This commit is contained in:
lorenzejay
2026-05-26 13:22:50 -07:00
parent 8be5c7afa7
commit efed5fcfcb

View File

@@ -322,7 +322,7 @@ def vcr_config(vcr_cassette_dir: str) -> dict[str, Any]:
"before_record_request": _filter_request_headers,
"before_record_response": _filter_response_headers,
"filter_query_parameters": ["key"],
"match_on": ["method", "scheme", "bedrock_host", "port", "path"],
"match_on": ["method", "scheme", "host", "port", "path"],
}
if os.getenv("GITHUB_ACTIONS") == "true":