Skip to content

Commit 3029a95

Browse files
committed
fix test
1 parent e679a67 commit 3029a95

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/models/test_openai_responses.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import pytest
66
from dirty_equals import IsListOrTuple
77
from inline_snapshot import snapshot
8-
from openai import NOT_GIVEN
98
from pydantic import BaseModel
109
from 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())]),

0 commit comments

Comments
 (0)