Standardize printing of MessageTransforms (#2308)
* Standardize printing of MessageTransforms * Fix pre-commit black failure * Add test for transform_messages printing * Return str instead of printing * Rename to_print_stats to verbose * Cleanup * t i# This is a combination of 3 commits. Update requirements * Remove lazy-fixture * Avoid calling apply_transform in two code paths * Format * Replace stats with logs * Handle no content messages in TokenLimiter get_logs() * Move tests from test_transform_messages to test_transforms --------- Co-authored-by: Wael Karkoub <wael.karkoub96@gmail.com>
G
giorgossideris committed
90883904c5645e05e59883dae300b580062e8841
Parent: d473dee
Committed by GitHub <noreply@github.com>
on 4/14/2024, 12:48:24 AM