mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-08 19:10:56 +00:00
Update run.yaml
This commit is contained in:
parent
924b1fba09
commit
a86f3ae07d
2 changed files with 51 additions and 29 deletions
|
|
@ -335,7 +335,7 @@ def upgrade_from_routing_table_to_registry(
|
|||
provider_map = config_dict.get("api_providers", config_dict.get("provider_map", {}))
|
||||
if provider_map:
|
||||
for api_str, provider in provider_map.items():
|
||||
if isinstance(provider, dict):
|
||||
if isinstance(provider, dict) and "provider_type" in provider:
|
||||
providers_by_api[api_str] = [
|
||||
Provider(
|
||||
provider_id=f"{provider['provider_type']}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue