mirror of
https://github.com/katanemo/plano.git
synced 2026-05-21 13:55:15 +02:00
fix listener type names to match Rust enum (model/prompt not model_listener/prompt_listener)
This commit is contained in:
parent
efa677683a
commit
4e290fb715
3 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue