We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf12ad commit 612a7c0Copy full SHA for 612a7c0
tests/strands/models/test_openai.py
@@ -159,7 +159,7 @@ def test_stream_empty(openai_client, model):
159
160
161
def test_stream_with_empty_choices(openai_client, model):
162
- mock_delta = unittest.mock.Mock(content="content", tool_calls=None)
+ mock_delta = unittest.mock.Mock(content="content", tool_calls=None, reasoning_content=None)
163
mock_usage = unittest.mock.Mock(prompt_tokens=10, completion_tokens=20, total_tokens=30)
164
165
# Event with no choices attribute
0 commit comments