fix tests

This commit is contained in:
Adil Hafeez 2025-12-16 10:14:37 -08:00
parent 07208f95ab
commit 54a3d45bbf
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
2 changed files with 15 additions and 16 deletions

View file

@ -57,6 +57,10 @@ def convert_legacy_listeners(
"timeout": "30s",
}
# Handle None case
if listeners is None:
return [llm_gateway_listener], llm_gateway_listener, prompt_gateway_listener
if isinstance(listeners, dict):
# legacy listeners
# check if type is array or object