Use filters instead of string formatting
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user