forked from phoenix-oss/llama-stack-mirror
test fix for sometimes tools get called more than once
This commit is contained in:
parent
e8f4efba44
commit
27a08b7266
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ def test_tool_choice(llama_stack_client, agent_config):
|
|||
assert len(tool_execution_steps) == 0
|
||||
|
||||
tool_execution_steps = run_agent("get_boiling_point")
|
||||
assert len(tool_execution_steps) == 1 and tool_execution_steps[0].tool_calls[0].tool_name == "get_boiling_point"
|
||||
assert len(tool_execution_steps) >= 1 and tool_execution_steps[0].tool_calls[0].tool_name == "get_boiling_point"
|
||||
|
||||
|
||||
# TODO: fix this flaky test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue