Skip to content

Commit cb09da1

Browse files
committed
mypy type error
1 parent aa1c5b2 commit cb09da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

willa/chatbot/graph_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def _filter_messages(self, state: WillaChatbotState) -> dict[str, list[AnyMessag
7171
"""Filter out TIND messages from the conversation history."""
7272
messages = state["messages"]
7373

74-
filtered = [
74+
filtered: list[AnyMessage] = [
7575
msg for msg in messages
7676
if "tind" not in getattr(msg, "response_metadata", {}) and msg.type != "system"
7777
]

0 commit comments

Comments
 (0)