mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-07 19:12:09 +00:00
fixed pre commit checks
This commit is contained in:
parent
0593408c19
commit
8d095aabe6
3 changed files with 3 additions and 3 deletions
|
@ -15,4 +15,4 @@ async def get_adapter_impl(config: NVIDIASafetyConfig, _deps) -> Any:
|
|||
|
||||
impl = NVIDIASafetyAdapter(config)
|
||||
await impl.initialize()
|
||||
return impl
|
||||
return impl
|
||||
|
|
|
@ -42,4 +42,4 @@ class NVIDIASafetyConfig(BaseModel):
|
|||
return {
|
||||
"guardrails_service_url": "${env.GUARDRAILS_SERVICE_URL:http://localhost:7331}",
|
||||
"config_id": "self-check",
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,4 +100,4 @@ class NeMoGuardrails:
|
|||
metadata=metadata,
|
||||
)
|
||||
)
|
||||
return RunShieldResponse(violation=None)
|
||||
return RunShieldResponse(violation=None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue