diff --git a/docs/resources/llama-stack-spec.html b/docs/resources/llama-stack-spec.html
index 613484fe0..31df61195 100644
--- a/docs/resources/llama-stack-spec.html
+++ b/docs/resources/llama-stack-spec.html
@@ -21,7 +21,7 @@
"info": {
"title": "[DRAFT] Llama Stack Specification",
"version": "0.0.1",
- "description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-09-23 10:24:44.422779"
+ "description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-09-23 10:51:15.364842"
},
"servers": [
{
@@ -5588,7 +5588,7 @@
"RunShieldRequest": {
"type": "object",
"properties": {
- "shield": {
+ "shield_type": {
"type": "string"
},
"messages": {
@@ -5638,7 +5638,7 @@
},
"additionalProperties": false,
"required": [
- "shield",
+ "shield_type",
"messages",
"params"
]
@@ -5969,48 +5969,48 @@
}
],
"tags": [
- {
- "name": "Inference"
- },
- {
- "name": "Agents"
- },
- {
- "name": "PostTraining"
- },
{
"name": "SyntheticDataGeneration"
},
{
"name": "Models"
},
+ {
+ "name": "Memory"
+ },
+ {
+ "name": "Datasets"
+ },
{
"name": "BatchInference"
},
+ {
+ "name": "PostTraining"
+ },
+ {
+ "name": "Shields"
+ },
+ {
+ "name": "Inference"
+ },
+ {
+ "name": "RewardScoring"
+ },
+ {
+ "name": "Telemetry"
+ },
+ {
+ "name": "Agents"
+ },
+ {
+ "name": "MemoryBanks"
+ },
{
"name": "Safety"
},
{
"name": "Evaluations"
},
- {
- "name": "Shields"
- },
- {
- "name": "Telemetry"
- },
- {
- "name": "RewardScoring"
- },
- {
- "name": "MemoryBanks"
- },
- {
- "name": "Datasets"
- },
- {
- "name": "Memory"
- },
{
"name": "BuiltinTool",
"description": ""
diff --git a/docs/resources/llama-stack-spec.yaml b/docs/resources/llama-stack-spec.yaml
index bc5c4c4bd..e8861be11 100644
--- a/docs/resources/llama-stack-spec.yaml
+++ b/docs/resources/llama-stack-spec.yaml
@@ -1642,10 +1642,10 @@ components:
- type: array
- type: object
type: object
- shield:
+ shield_type:
type: string
required:
- - shield
+ - shield_type
- messages
- params
type: object
@@ -2443,7 +2443,7 @@ info:
description: "This is the specification of the llama stack that provides\n \
\ a set of endpoints and their corresponding interfaces that are tailored\
\ to\n best leverage Llama Models. The specification is still in\
- \ draft and subject to change.\n Generated at 2024-09-23 10:24:44.422779"
+ \ draft and subject to change.\n Generated at 2024-09-23 10:51:15.364842"
title: '[DRAFT] Llama Stack Specification'
version: 0.0.1
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
@@ -3681,20 +3681,20 @@ security:
servers:
- url: http://any-hosted-llama-stack.com
tags:
-- name: Inference
-- name: Agents
-- name: PostTraining
- name: SyntheticDataGeneration
- name: Models
+- name: Memory
+- name: Datasets
- name: BatchInference
+- name: PostTraining
+- name: Shields
+- name: Inference
+- name: RewardScoring
+- name: Telemetry
+- name: Agents
+- name: MemoryBanks
- name: Safety
- name: Evaluations
-- name: Shields
-- name: Telemetry
-- name: RewardScoring
-- name: MemoryBanks
-- name: Datasets
-- name: Memory
- description:
name: BuiltinTool
- description: RunShieldResponse: ...
diff --git a/llama_stack/distribution/routers/routers.py b/llama_stack/distribution/routers/routers.py
index ba32e5986..c9a536aa0 100644
--- a/llama_stack/distribution/routers/routers.py
+++ b/llama_stack/distribution/routers/routers.py
@@ -162,7 +162,6 @@ class SafetyRouter(Safety):
messages: List[Message],
params: Dict[str, Any] = None,
) -> RunShieldResponse:
- print(f"Running shield {shield_type}")
return await self.routing_table.get_provider_impl(shield_type).run_shield(
shield_type=shield_type,
messages=messages,