From 26c71cfef227db13921ab53957d390ae1e8a3e2a Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 04:45:30 +0000 Subject: [PATCH] style: Apply ruff-format changes to improve code formatting Co-Authored-By: Alex Reibman --- agentops/llms/providers/fireworks.py | 8 ++++++-- examples/fireworks_examples/fireworks_example.py | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/agentops/llms/providers/fireworks.py b/agentops/llms/providers/fireworks.py index 1c87d9df..fdfd11cf 100644 --- a/agentops/llms/providers/fireworks.py +++ b/agentops/llms/providers/fireworks.py @@ -73,7 +73,9 @@ async def async_generator(stream): stream_event.end_timestamp = get_ISO_time() if self._session: self._session.record(stream_event) - logger.debug(f"Recorded streaming response for session {self._session.session_id}") + logger.debug( + f"Recorded streaming response for session {self._session.session_id}" + ) yield content except Exception as e: logger.error(f"Error processing streaming chunk: {str(e)}") @@ -100,7 +102,9 @@ def generator(stream): stream_event.end_timestamp = get_ISO_time() if self._session: self._session.record(stream_event) - logger.debug(f"Recorded streaming response for session {self._session.session_id}") + logger.debug( + f"Recorded streaming response for session {self._session.session_id}" + ) yield content except Exception as e: logger.error(f"Error processing streaming chunk: {str(e)}") diff --git a/examples/fireworks_examples/fireworks_example.py b/examples/fireworks_examples/fireworks_example.py index bfeb2c7a..6243a4cb 100644 --- a/examples/fireworks_examples/fireworks_example.py +++ b/examples/fireworks_examples/fireworks_example.py @@ -111,4 +111,3 @@ finally: print("\nScript execution completed.") -