Skip to content

Commit 612a7c0

Browse files
committed
feat: Add reasoning content for openai model provider
1 parent ccf12ad commit 612a7c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/strands/models/test_openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_stream_empty(openai_client, model):
159159

160160

161161
def test_stream_with_empty_choices(openai_client, model):
162-
mock_delta = unittest.mock.Mock(content="content", tool_calls=None)
162+
mock_delta = unittest.mock.Mock(content="content", tool_calls=None, reasoning_content=None)
163163
mock_usage = unittest.mock.Mock(prompt_tokens=10, completion_tokens=20, total_tokens=30)
164164

165165
# Event with no choices attribute

0 commit comments

Comments
 (0)