chore/ 删除无用文件

This commit is contained in:
Kevin
2026-03-19 14:36:14 +08:00
parent 2f60858c9c
commit c6e07ce5ca
135 changed files with 2111 additions and 4510 deletions

View File

@@ -44,7 +44,10 @@ class ConversationMessagesHistoryTest(unittest.TestCase):
)
self.assertEqual(
[(msg["senderType"], msg["messageType"], msg["content"]) for msg in messages],
[
(msg["senderType"], msg["messageType"], msg["content"])
for msg in messages
],
[
("user", "audio", "第一段"),
("assistant", "text", "继续说"),
@@ -101,7 +104,9 @@ class ConversationMessagesHistoryTest(unittest.TestCase):
}
]
latest_message_time = conversations_router._latest_message_time_ms(conversation, history)
latest_message_time = conversations_router._latest_message_time_ms(
conversation, history
)
self.assertEqual(latest_message_time, 1773489605000)
@@ -112,6 +117,8 @@ class ConversationMessagesHistoryTest(unittest.TestCase):
started_at=datetime(2026, 3, 14, 12, 0, 0, tzinfo=timezone.utc),
)
timestamp = conversations_router._message_timestamp_ms({}, conversation.started_at)
timestamp = conversations_router._message_timestamp_ms(
{}, conversation.started_at
)
self.assertEqual(timestamp, 1773489600000)