diff --git a/semantic_router/layer.py b/semantic_router/layer.py index 432f0af98066d9d5ec407694145a55f5767a7724..dffc1d4b4af2671019ed0cfe47f7f67698612799 100644 --- a/semantic_router/layer.py +++ b/semantic_router/layer.py @@ -254,7 +254,6 @@ class RouteLayer: 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 8841902161f6b72b1c5ee3245b3b08e1994609eb..3e0cd5e5b4a3979d4566386ceec43f22f7f65ed8 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