Skip to content

Commit

Permalink
fix: black linter issue!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Nov 27, 2024
1 parent b598cef commit c22cdef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def transform(self, messages: list[TelegramMessagesModel]) -> list[Document]:
a list of llama-index documents to be embedded & loaded into db
"""
transformed_docs: list[Document] = []

# within links the "-100" of chat_id is removed
chat_id = str(self.chat_id).removeprefix("-100")

Expand Down

0 comments on commit c22cdef

Please sign in to comment.