diff --git a/semantic_router/layer.py b/semantic_router/layer.py index 432f0af9..dffc1d4b 100644 --- a/semantic_router/layer.py +++ b/semantic_router/layer.py @@ -254,7 +254,6 @@ def __call__( name=route.name, function_call=None, similarity_score=None, - trigger=None, ) else: # if no route passes threshold, return empty route choice diff --git a/semantic_router/schema.py b/semantic_router/schema.py index 88419021..3e0cd5e5 100644 --- a/semantic_router/schema.py +++ b/semantic_router/schema.py @@ -25,7 +25,6 @@ class RouteChoice(BaseModel): name: Optional[str] = None function_call: Optional[dict] = None similarity_score: Optional[float] = None - trigger: Optional[bool] = None @dataclass