[Bugfix] Responses API assistant EasyInputMessageParam input (#44361)

Signed-off-by: Yifan Zong <yzong@redhat.com>
Co-authored-by: Ben Browning <bbrownin@redhat.com>
This commit is contained in:
yzong-rh
2026-06-23 08:54:46 -04:00
committed by GitHub
co-authored by Ben Browning
parent 7d47cff933
commit 2a675a7b9f
4 changed files with 93 additions and 13 deletions
@@ -782,6 +782,16 @@ class TestConstructChatMessagesCombinePolicy:
["call_123", "call_456"],
id="reasoning-output-tool-call",
),
pytest.param(
[
make_reasoning_item(content_text="Let me think"),
{"type": "message", "role": "assistant", "content": "Hello"},
],
"Hello",
"Let me think",
None,
id="reasoning-easyinput-assistant",
),
],
)
def test_assistant_side_items_merge_until_tool_output(