Skip to content

Conversation

Bobronium
Copy link
Collaborator

@Bobronium Bobronium commented Sep 12, 2025

Title

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Impact

Before

image

After

image

Type

🧹 Refactoring
⏱️ Performance
✅ Test

Changes

Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Sep 12, 2025 5:31pm

@@ -2893,19 +2854,13 @@ def _get_assembled_streaming_response(
ResponseCompletedEvent,
Any,
],
start_time: datetime.datetime,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've checked that _get_assembled_streaming_response is not used anywhere else, and I doubt anyone would subclass and redefine it

callbacks = self.get_combined_callback_list(
dynamic_success_callbacks=self.dynamic_async_success_callbacks,
global_callbacks=litellm._async_success_callback,
)

result = redact_message_input_output_from_logging(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done once in helper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant