Skip to content

Commit

Permalink
fix: tweet processing
Browse files Browse the repository at this point in the history
  • Loading branch information
dvilelaf committed Jun 6, 2024
1 parent 0e790d1 commit 51ddbca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dvilela/skills/tsunami_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def sentence_split(sentence: str, separator: str) -> List[str]:
return [p.strip() for p in parts]

sentences = [t.strip() for t in tweet.split(".")]
sentences = [s for s in sentences if s]
thread: List[str] = []

# Keep iterating while there are sentences to process
Expand Down

0 comments on commit 51ddbca

Please sign in to comment.