release(openai): 0.3.30 (#32515)

This commit is contained in:
Mason Daugherty
2025-08-12 12:06:17 -04:00
committed by GitHub
parent 0024dffa68
commit 262c83763f
3 changed files with 81 additions and 63 deletions

View File

@@ -404,6 +404,8 @@ def test_stream_reasoning_summary(
for block in response_1.content
if block["type"] == "reasoning" # type: ignore[index]
)
if isinstance(reasoning, str):
reasoning = json.loads(reasoning)
assert set(reasoning.keys()) == {"id", "type", "summary", "index"}
summary = reasoning["summary"]
assert isinstance(summary, list)