diff --git a/docs/_static/llama-stack-spec.html b/docs/_static/llama-stack-spec.html
index d1e6291f0..455ca575f 100644
--- a/docs/_static/llama-stack-spec.html
+++ b/docs/_static/llama-stack-spec.html
@@ -7198,18 +7198,6 @@
},
"type": {
"type": "string",
- "enum": [
- "model",
- "shield",
- "vector_db",
- "dataset",
- "scoring_function",
- "benchmark",
- "tool",
- "tool_group",
- "preprocessor"
- ],
- "title": "ResourceType",
"const": "preprocessor",
"default": "preprocessor"
},
diff --git a/docs/_static/llama-stack-spec.yaml b/docs/_static/llama-stack-spec.yaml
index 7eac70b13..89076f297 100644
--- a/docs/_static/llama-stack-spec.yaml
+++ b/docs/_static/llama-stack-spec.yaml
@@ -5022,17 +5022,6 @@ components:
type: string
type:
type: string
- enum:
- - model
- - shield
- - vector_db
- - dataset
- - scoring_function
- - benchmark
- - tool
- - tool_group
- - preprocessor
- title: ResourceType
const: preprocessor
default: preprocessor
metadata:
diff --git a/llama_stack/apis/preprocessors/preprocessors.py b/llama_stack/apis/preprocessors/preprocessors.py
index c1be3ccb7..6ac2c72e5 100644
--- a/llama_stack/apis/preprocessors/preprocessors.py
+++ b/llama_stack/apis/preprocessors/preprocessors.py
@@ -15,7 +15,7 @@ from llama_stack.schema_utils import json_schema_type, webmethod
@json_schema_type
class Preprocessor(Resource):
- type: Literal[ResourceType.preprocessor] = ResourceType.preprocessor
+ type: Literal[ResourceType.preprocessor.value] = ResourceType.preprocessor.value # type: ignore
@property
def preprocessor_id(self) -> str: