mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-10 05:24:39 +00:00
config file for build
This commit is contained in:
parent
4f021de10f
commit
0981193d78
2 changed files with 94 additions and 25 deletions
|
@ -188,3 +188,19 @@ Provider configurations for each of the APIs provided by this package. This incl
|
|||
the dependencies of these providers as well.
|
||||
""",
|
||||
)
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class BuildConfig(BaseModel):
|
||||
name: str
|
||||
distribution: str = Field(
|
||||
default="local", description="Type of distribution to build (adhoc | {})"
|
||||
)
|
||||
api_providers: Optional[str] = Field(
|
||||
default_factory=list,
|
||||
description="List of API provider names to build",
|
||||
)
|
||||
package_type: str = Field(
|
||||
default="conda_env",
|
||||
description="Type of package to build (conda_env | container)",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue