add support for model_providers

This commit is contained in:
Adil Hafeez 2025-09-30 12:18:29 -07:00
parent 2cebc0c85f
commit 92a8782332
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
10 changed files with 183 additions and 93 deletions

View file

@ -350,7 +350,7 @@ def test_validate_and_render_schema_tests(monkeypatch, arch_config_test_case):
def test_convert_legacy_llm_providers():
from cli.utils import convert_legacy_llm_providers
from cli.utils import convert_legacy_listeners
listeners = {
"ingress_traffic": {
@ -373,7 +373,7 @@ def test_convert_legacy_llm_providers():
}
]
updated_providers, llm_gateway, prompt_gateway = convert_legacy_llm_providers(
updated_providers, llm_gateway, prompt_gateway = convert_legacy_listeners(
listeners, llm_providers
)
assert isinstance(updated_providers, list)
@ -425,7 +425,7 @@ def test_convert_legacy_llm_providers():
def test_convert_legacy_llm_providers_no_prompt_gateway():
from cli.utils import convert_legacy_llm_providers
from cli.utils import convert_legacy_listeners
listeners = {
"egress_traffic": {
@ -442,7 +442,7 @@ def test_convert_legacy_llm_providers_no_prompt_gateway():
}
]
updated_providers, llm_gateway, prompt_gateway = convert_legacy_llm_providers(
updated_providers, llm_gateway, prompt_gateway = convert_legacy_listeners(
listeners, llm_providers
)
assert isinstance(updated_providers, list)