Skip to content

Commit 21904f6

Browse files
committed
pylint fix.
aaarrrrgghghghghg
1 parent a8579b8 commit 21904f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

willa/chatbot/graph_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ def _prepare_search_query(self, state: WillaChatbotState) -> dict[str, str]:
8080

8181
# summarization may include a system message as well as any human or ai messages
8282
search_query = '\n'.join(str(msg.content) for msg in messages if hasattr(msg, 'content'))
83-
83+
8484
# if summarization fails or some other issue, truncate to the last 2048 characters
8585
if len(search_query) > 2048:
8686
search_query = search_query[-2048:]
87-
87+
8888
return {"search_query": search_query}
8989

9090
def _retrieve_context(self, state: WillaChatbotState) -> dict[str, str | list[Any]]:

0 commit comments

Comments
 (0)