mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-18 15:27:16 +00:00
Fix Registry so it scopes keys by object types
This commit is contained in:
parent
b1c3a95485
commit
b94e6c0bd4
7 changed files with 63 additions and 47 deletions
|
@ -101,6 +101,8 @@ async def safety_stack(inference_model, safety_model, request):
|
|||
shield_provider_type = safety_fixture.providers[0].provider_type
|
||||
shield_input = get_shield_to_register(shield_provider_type, safety_model)
|
||||
|
||||
print(f"inference_model: {inference_model}")
|
||||
print(f"shield_input = {shield_input}")
|
||||
impls = await resolve_impls_for_test_v2(
|
||||
[Api.safety, Api.shields, Api.inference],
|
||||
providers,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue