Fixed an error in the preprocessor type definition.

This commit is contained in:
ilya-kolchinsky 2025-04-03 12:51:00 +02:00
parent 863f87aa15
commit 0d79043d79
3 changed files with 1 additions and 24 deletions

View file

@ -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: