fix listener type names to match Rust enum (model/prompt not model_listener/prompt_listener)

This commit is contained in:
Adil Hafeez 2026-03-12 14:38:41 -07:00
parent efa677683a
commit 4e290fb715
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
3 changed files with 9 additions and 9 deletions

View file

@ -89,7 +89,7 @@ def convert_legacy_listeners(
) -> tuple[list, dict | None, dict | None]:
llm_gateway_listener = {
"name": "egress_traffic",
"type": "model_listener",
"type": "model",
"port": 12000,
"address": "0.0.0.0",
"timeout": "30s",
@ -98,7 +98,7 @@ def convert_legacy_listeners(
prompt_gateway_listener = {
"name": "ingress_traffic",
"type": "prompt_listener",
"type": "prompt",
"port": 10000,
"address": "0.0.0.0",
"timeout": "30s",