File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 55import pytest
66from dirty_equals import IsListOrTuple
77from inline_snapshot import snapshot
8- from openai import NOT_GIVEN
98from pydantic import BaseModel
109from typing_extensions import TypedDict
1110
@@ -1141,7 +1140,7 @@ async def test_previous_response_id_mixed_model_history(allow_model_requests: No
11411140
11421141 model = OpenAIResponsesModel ('gpt-5' , provider = OpenAIProvider (api_key = openai_api_key ))
11431142 history , previous_response_id = model ._get_response_id_and_trim (history ) # type: ignore
1144- assert previous_response_id == NOT_GIVEN
1143+ assert not previous_response_id
11451144 assert history == snapshot (
11461145 [
11471146 ModelRequest (parts = [UserPromptPart (content = 'The first secret key is sesame' , timestamp = IsDatetime ())]),
You can’t perform that action at this time.
0 commit comments