chore: remove decorator kwarg to ensure global conftest applies

This commit is contained in:
Greyson Lalonde
2025-11-07 17:01:30 -05:00
parent 54f8cc685f
commit 19f4ef0982
31 changed files with 1352 additions and 315 deletions

View File

@@ -78,7 +78,7 @@ class CustomLLM(BaseLLM):
return 4096
@pytest.mark.vcr(filter_headers=["authorization"])
@pytest.mark.vcr()
def test_custom_llm_implementation():
"""Test that a custom LLM implementation works with create_llm."""
custom_llm = CustomLLM(response="The answer is 42")
@@ -97,7 +97,7 @@ def test_custom_llm_implementation():
assert "42" in response
@pytest.mark.vcr(filter_headers=["authorization"])
@pytest.mark.vcr()
def test_custom_llm_within_crew():
"""Test that a custom LLM implementation works with create_llm."""
custom_llm = CustomLLM(response="Hello! Nice to meet you!", model="test-model")