Skip to content

Commit 791999d

Browse files
committed
ruff lint
1 parent f7d18e2 commit 791999d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/models/test_huggingface.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,14 +992,13 @@ async def test_hf_model_thinking_part_iter(allow_model_requests: None, huggingfa
992992
)
993993

994994

995-
996995
async def test_cache_point_filtering(allow_model_requests: None, huggingface_provider: HuggingFaceProvider):
997996
"""Test that CachePoint is filtered out in Hugging Face requests."""
998997
from pydantic_ai import Agent, CachePoint
999998

1000999
model = HuggingFaceModel('Qwen/Qwen3-235B-A22B', provider=huggingface_provider)
10011000
agent = Agent(model=model)
10021001

1003-
# Just verify that CachePoint doesn't cause an error - it should be filtered out
1002+
# Just verify that CachePoint doesn't cause an error - it should be filtered out
10041003
result = await agent.run(['text before', CachePoint(), 'text after'])
10051004
assert isinstance(result.output, str)

0 commit comments

Comments
 (0)