Remove extra test_stream_agent.py

This commit is contained in:
2026-05-28 10:37:33 +00:00
parent 52d2f98d6b
commit bfa9e3465d
-24
View File
@@ -1,24 +0,0 @@
from langchain_core.messages import AIMessage
from stream_agent import format_message
def test_format_message_with_content():
message = AIMessage(content="hello")
assert format_message(message) == "hello"
def test_format_message_with_tool_call():
message = AIMessage(
content="",
tool_calls=[
{
"name": "get_demo_price",
"args": {"product": "молоко", "city": "Казань"},
"id": "call-1",
}
],
)
assert "get_demo_price" in format_message(message)