Skip to content

Commit

Permalink
print cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanrfrazier committed Oct 9, 2024
1 parent a8b296b commit dde6c14
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/backend/base/langflow/components/astra_assistants/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def __init__(self):
super().__init__()

def on_exception(self, exception: Exception) -> None:
print(f"Exception: {exception}")
raise exception

event_handler = EventHandler()
Expand All @@ -88,8 +87,6 @@ def on_exception(self, exception: Exception) -> None:
assistant_id=self.assistant_id,
event_handler=event_handler,
) as stream:
# return stream.text_deltas
for part in stream.text_deltas:
text += part
print(part)
return Message(text=text)

Check failure on line 92 in src/backend/base/langflow/components/astra_assistants/run.py

View workflow job for this annotation

GitHub Actions / Ruff Style Check (3.12)

Ruff (W292)

src/backend/base/langflow/components/astra_assistants/run.py:92:34: W292 No newline at end of file

0 comments on commit dde6c14

Please sign in to comment.