mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-01 18:50:01 +00:00
precommit
This commit is contained in:
parent
d6887f46c6
commit
2f140c7ccf
7 changed files with 235 additions and 116 deletions
|
|
@ -10,14 +10,14 @@ from pydantic import BaseModel
|
|||
from llama_stack.schema_utils import json_schema_type
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class Job(BaseModel):
|
||||
job_id: str
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class JobStatus(Enum):
|
||||
completed = "completed"
|
||||
in_progress = "in_progress"
|
||||
failed = "failed"
|
||||
scheduled = "scheduled"
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class Job(BaseModel):
|
||||
job_id: str
|
||||
status: JobStatus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue