File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3076,7 +3076,9 @@ async def test_cache_point_filtering(allow_model_requests: None):
30763076async def test_cache_point_filtering_responses_model ():
30773077 """Test that CachePoint is filtered out in OpenAI Responses API requests."""
30783078 # Test the static method directly to trigger line 1680
3079- msg = await OpenAIResponsesModel ._map_user_prompt (UserPromptPart (content = ['text before' , CachePoint (), 'text after' ])) # pyright: ignore[reportPrivateUsage]
3079+ msg = await OpenAIResponsesModel ._map_user_prompt (
3080+ UserPromptPart (content = ['text before' , CachePoint (), 'text after' ])
3081+ ) # pyright: ignore[reportPrivateUsage]
30803082
30813083 # CachePoint should be filtered out, only text content should remain
30823084 assert msg ['role' ] == 'user'
You can’t perform that action at this time.
0 commit comments