This commit is contained in:
dahyeon committed 2026-04-21 12:42:24 -07:00
1 parent ae44aa03db
commit 2bb9fcf27e
34 files changed
+1524 -120

No files matched your search

@@ -26,8 +26,10 @@ function makeSession(
chatroomId: "room-1",
deadlineAt: "2026-04-16T12:00:00.000Z",
joinedAt: "2026-04-16T10:00:00.000Z",
kakaotalkNickname: "프리리/95/여/D",
kakaotalkNicknameAliases: [],
kakaotalkNicknameVerified: true,
lastEventAt: "2026-04-16T10:30:00.000Z",
nickname: "프리리/95/여/D",
nicknameVerified: true,
photoVerified: false,
status: "pending",
@@ -68,6 +70,7 @@ describe("PromptBuilder", () => {
expect(messages[0]?.role).toBe("system");
expect(messages[0]?.content).toContain("하트 인증이 뭐예요?");
expect(messages[0]?.content).not.toContain("나이 제한 있나요?");
expect(messages[0]?.content).toContain("카카오톡 닉네임");
});
it("limits prompt history to the latest five turns when summary exists", () => {