mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
move import to inline
This commit is contained in:
parent
6c97e84372
commit
aebec57ed7
1 changed files with 6 additions and 5 deletions
|
@ -8,13 +8,8 @@ import argparse
|
||||||
|
|
||||||
from llama_toolchain.cli.subcommand import Subcommand
|
from llama_toolchain.cli.subcommand import Subcommand
|
||||||
from llama_toolchain.core.datatypes import * # noqa: F403
|
from llama_toolchain.core.datatypes import * # noqa: F403
|
||||||
import json
|
|
||||||
import os
|
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
from llama_toolchain.common.config_dirs import DISTRIBS_BASE_DIR
|
|
||||||
from llama_toolchain.common.serialize import EnumEncoder
|
|
||||||
from termcolor import cprint
|
|
||||||
|
|
||||||
|
|
||||||
def parse_api_provider_tuples(
|
def parse_api_provider_tuples(
|
||||||
|
@ -93,8 +88,14 @@ class StackBuild(Subcommand):
|
||||||
def _run_stack_build_command_from_build_config(
|
def _run_stack_build_command_from_build_config(
|
||||||
self, build_config: BuildConfig
|
self, build_config: BuildConfig
|
||||||
) -> None:
|
) -> None:
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
|
||||||
|
from llama_toolchain.common.config_dirs import DISTRIBS_BASE_DIR
|
||||||
|
from llama_toolchain.common.serialize import EnumEncoder
|
||||||
from llama_toolchain.core.distribution_registry import resolve_distribution_spec
|
from llama_toolchain.core.distribution_registry import resolve_distribution_spec
|
||||||
from llama_toolchain.core.package import ApiInput, build_package, BuildType
|
from llama_toolchain.core.package import ApiInput, build_package, BuildType
|
||||||
|
from termcolor import cprint
|
||||||
|
|
||||||
api_inputs = []
|
api_inputs = []
|
||||||
if build_config.distribution == "adhoc":
|
if build_config.distribution == "adhoc":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue