mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-08 11:07:22 +00:00
re-gen openapi spec
This commit is contained in:
parent
fcd22b6baa
commit
6788173ffc
4 changed files with 360 additions and 686 deletions
|
|
@ -41,20 +41,6 @@ async def safety_settings():
|
|||
}
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def sample_tool_definition():
|
||||
return ToolDefinition(
|
||||
tool_name="get_weather",
|
||||
description="Get the current weather",
|
||||
parameters={
|
||||
"location": ToolParamDefinition(
|
||||
param_type="string",
|
||||
description="The city and state, e.g. San Francisco, CA",
|
||||
),
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_shield_list(safety_settings):
|
||||
shields_impl = safety_settings["shields_impl"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue