Use filters instead of string formatting

This commit is contained in:
ajac-zero
2026-02-21 22:09:41 -06:00
parent 3cb78afc3a
commit 52aa8bfe0d
2 changed files with 6 additions and 5 deletions

View File

@@ -247,7 +247,7 @@ class TestGetSessionWithSummary:
class TestEventsToText:
def test_formats_user_and_assistant(self):
async def test_formats_user_and_assistant(self):
events = [
Event(
author="user",
@@ -270,7 +270,7 @@ class TestEventsToText:
assert "User: Hi there" in text
assert "Assistant: Hello!" in text
def test_skips_events_without_text(self):
async def test_skips_events_without_text(self):
events = [
Event(
author="user",