Skip to content

Commit

Permalink
refactor: Update get_message() method to return only the text content…
Browse files Browse the repository at this point in the history
… of the first message
  • Loading branch information
Erik172 committed Jul 21, 2024
1 parent de8734b commit b2d8559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/services/folio.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _is_reverse(self, text1: str, text2: str) -> str:
]
)

return message.content[0].text
return message.content[0].text, tokens

# TODO: Cambiar a un modelo local
def generate_summary(self, report: dict) -> str:
Expand Down

0 comments on commit b2d8559

Please sign in to comment.