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

@ -165,7 +165,7 @@ def _resolve_cli_agent_endpoint(plano_config_yaml: dict) -> tuple[str, int]:
if isinstance(listeners, list):
for listener in listeners:
if listener.get("type") in ["model", "model_listener"]:
if listener.get("type") == "model":
host = listener.get("host") or listener.get("address") or "0.0.0.0"
port = listener.get("port", 12000)
return host, port