mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
add support for model_providers
This commit is contained in:
parent
2cebc0c85f
commit
92a8782332
10 changed files with 183 additions and 93 deletions
|
|
@ -5,7 +5,7 @@ import time
|
|||
import sys
|
||||
|
||||
import yaml
|
||||
from cli.utils import convert_legacy_llm_providers, getLogger
|
||||
from cli.utils import convert_legacy_listeners, getLogger
|
||||
from cli.consts import (
|
||||
ARCHGW_DOCKER_IMAGE,
|
||||
ARCHGW_DOCKER_NAME,
|
||||
|
|
@ -37,7 +37,7 @@ def _get_gateway_ports(arch_config_file: str) -> list[int]:
|
|||
|
||||
print("arch config dict json string: ", json.dumps(arch_config_dict))
|
||||
|
||||
listeners, _, _ = convert_legacy_llm_providers(
|
||||
listeners, _, _ = convert_legacy_listeners(
|
||||
arch_config_dict.get("listeners"), arch_config_dict.get("llm_providers")
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue