Fixed an error in the preprocessor type definition.

This commit is contained in:
ilya-kolchinsky 2025-04-03 12:49:50 +02:00
parent 2008cd7921
commit 0b968678b4
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: