Improve pilot chat live traces and remove mock placeholders

This commit is contained in:
Ruslan Bakiev
2026-02-18 21:22:35 +07:00
parent 46e5908244
commit fdc85d5c42
6 changed files with 120 additions and 81 deletions

View File

@@ -360,30 +360,6 @@ async function main() {
],
});
await prisma.chatMessage.createMany({
data: [
{
teamId: team.id,
conversationId: conversation.id,
authorUserId: null,
role: "ASSISTANT",
text: "Workspace is ready. I connected contacts, communications, calendar, deals, and recommendations.",
planJson: {
steps: ["Open any contact", "Review chat + pinned tasks", "Confirm next event or message"],
tools: ["contacts", "communications", "calendar", "feed"],
},
},
{
teamId: team.id,
conversationId: conversation.id,
authorUserId: null,
role: "ASSISTANT",
text: "Dataset loaded with 220 contacts and linked timeline activity.",
planJson: { steps: ["Filter by country/company", "Open active threads", "Apply one recommendation"], tools: ["search", "pins"] },
},
],
});
console.log("Seed completed.");
console.log(`Login phone: ${LOGIN_PHONE}`);
console.log(`Login password: ${LOGIN_PASSWORD}`);