mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
fix tests
This commit is contained in:
parent
77e3d9e6f6
commit
2302245bc1
2 changed files with 7 additions and 12 deletions
|
|
@ -128,7 +128,7 @@ def convert_legacy_listeners(
|
|||
|
||||
model_provider_set = False
|
||||
for listener in listeners:
|
||||
if listener.get("type") == "model_listener":
|
||||
if listener.get("type") == "model":
|
||||
if model_provider_set:
|
||||
raise ValueError(
|
||||
"Currently only one listener can have model_providers set"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue