Skip to content

Commit 1829697

Browse files
committed
test
1 parent 4b62f31 commit 1829697

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

libs/core/tests/unit_tests/test_messages.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ def test_convert_to_messages() -> None:
740740
"tool_call_id": "tool_id2",
741741
"content": "Bye!",
742742
"artifact": {"foo": 123},
743+
"status": "success",
743744
},
744745
{"role": "remove", "id": "message_to_remove", "content": ""},
745746
{
@@ -773,7 +774,12 @@ def test_convert_to_messages() -> None:
773774
],
774775
),
775776
ToolMessage(tool_call_id="tool_id", content="Hi!"),
776-
ToolMessage(tool_call_id="tool_id2", content="Bye!", artifact={"foo": 123}),
777+
ToolMessage(
778+
tool_call_id="tool_id2",
779+
content="Bye!",
780+
artifact={"foo": 123},
781+
status="success",
782+
),
777783
RemoveMessage(id="message_to_remove"),
778784
HumanMessage(
779785
content="Now the turn for Larry to ask a question about the book!",

0 commit comments

Comments
 (0)