From c95bde738451410484ffbb6ca734cd041aefeeba Mon Sep 17 00:00:00 2001 From: xiabo Date: Wed, 1 May 2024 20:19:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8`python=20-m=20black=20--chec?= =?UTF-8?q?k`=E6=A3=80=E6=9F=A5=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../integration_tests/agents/test_functional_agent_stream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erniebot-agent/tests/integration_tests/agents/test_functional_agent_stream.py b/erniebot-agent/tests/integration_tests/agents/test_functional_agent_stream.py index 46ec4463..7d9d31a8 100644 --- a/erniebot-agent/tests/integration_tests/agents/test_functional_agent_stream.py +++ b/erniebot-agent/tests/integration_tests/agents/test_functional_agent_stream.py @@ -76,7 +76,7 @@ async def test_function_agent_run_no_hit(llm, tool, memory): tool_steps = [step for step, msgs in run_logs if not isinstance(step, EndStep)] assert len(tool_steps) == 0 - + @pytest.mark.asyncio @pytest.mark.parametrize("prompt", [ONE_HIT_PROMPT, NO_HIT_PROMPT]) @@ -95,4 +95,4 @@ async def test_function_agent_run_no_tool(llm, memory, prompt): assert end_step_msg == agent.memory.get_messages()[1].content tool_steps = [step for step, msgs in run_logs if not isinstance(step, EndStep)] - assert len(tool_steps) == 0 \ No newline at end of file + assert len(tool_steps) == 0