mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
release(openai): 0.3.30 (#32515)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user