mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-15 18:42:31 +00:00
move jobs, fix errors
This commit is contained in:
parent
5836c09c57
commit
a4f5f1f890
4 changed files with 23 additions and 17 deletions
12
llama_stack/apis/common/job_types.py
Normal file
12
llama_stack/apis/common/job_types.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
from llama_models.schema_utils import json_schema_type
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class Job(BaseModel):
|
||||
job_id: str
|
||||
Loading…
Add table
Add a link
Reference in a new issue