Skip to content

Commit

Permalink
使用python -m black --check检查格式
Browse files Browse the repository at this point in the history
  • Loading branch information
xiabo0816 committed May 1, 2024
1 parent 2d3c851 commit c95bde7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand All @@ -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
assert len(tool_steps) == 0

0 comments on commit c95bde7

Please sign in to comment.