[gpt-oss] Generate ResponseOutputItem from Harmony Message (#22410)

Signed-off-by: Chen Zhang <zhangch99@outlook.com>
This commit is contained in:
Chen Zhang
2025-08-07 08:33:25 -07:00
committed by GitHub
parent 4da8bf20d0
commit 4815b00f54
4 changed files with 290 additions and 80 deletions

View File

@@ -17,7 +17,7 @@ async def test_simple_input(client: openai.AsyncOpenAI):
# Whether the output contains the reasoning.
assert outputs[0].type == "reasoning"
assert outputs[0].text != ""
assert outputs[0].content[0].text != ""
@pytest.mark.asyncio