mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
Remove "APIs to serve" prompt
This commit is contained in:
parent
f5d5e32d62
commit
dff9eab48f
1 changed files with 0 additions and 4 deletions
|
@ -30,12 +30,8 @@ def make_routing_entry_type(config_class: Any):
|
||||||
def configure_api_providers(
|
def configure_api_providers(
|
||||||
config: StackRunConfig, spec: DistributionSpec
|
config: StackRunConfig, spec: DistributionSpec
|
||||||
) -> StackRunConfig:
|
) -> StackRunConfig:
|
||||||
cprint("Configuring APIs to serve...", "white", attrs=["bold"])
|
|
||||||
print("Enter comma-separated list of APIs to serve:")
|
|
||||||
|
|
||||||
apis = config.apis_to_serve or list(spec.providers.keys())
|
apis = config.apis_to_serve or list(spec.providers.keys())
|
||||||
config.apis_to_serve = [a for a in apis if a != "telemetry"]
|
config.apis_to_serve = [a for a in apis if a != "telemetry"]
|
||||||
print("")
|
|
||||||
|
|
||||||
apis = [v.value for v in stack_apis()]
|
apis = [v.value for v in stack_apis()]
|
||||||
all_providers = api_providers()
|
all_providers = api_providers()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue