회의록 AI: 추가 지시 우선, 체크리스트/액션 시스템 강제 완화, include_checklist 기본 끔

Made-with: Cursor
This commit is contained in:
2026-04-15 17:15:51 +09:00
parent 51a402d223
commit 046366599d
6 changed files with 58 additions and 69 deletions

View File

@@ -16,7 +16,7 @@ const defaultPromptRow = (email) => ({
include_attendees: true,
include_summary: true,
include_action_items: true,
include_checklist: true,
include_checklist: false,
custom_instructions: null,
});
@@ -70,7 +70,7 @@ async function ensureUserAndDefaultPrompt(pgPool, email) {
await pgPool.query(`INSERT INTO meeting_ai_users (email) VALUES ($1) ON CONFLICT (email) DO NOTHING`, [email]);
await pgPool.query(
`INSERT INTO meeting_ai_prompts (user_email, include_title_line, include_attendees, include_summary, include_action_items, include_checklist)
VALUES ($1, true, true, true, true, true)
VALUES ($1, true, true, true, true, false)
ON CONFLICT (user_email) DO NOTHING`,
[email]
);
@@ -104,7 +104,7 @@ async function getPromptRow(pgPool, email) {
include_attendees: p.include_attendees !== false,
include_summary: p.include_summary !== false,
include_action_items: p.include_action_items !== false,
include_checklist: true,
include_checklist: p.include_checklist === true,
custom_instructions: p.custom_instructions,
created_at: p.created_at || null,
updated_at: p.updated_at || null,
@@ -134,7 +134,7 @@ async function upsertPrompt(pgPool, email, fields) {
fields.includeAttendees,
fields.includeSummary,
fields.includeActionItems,
true,
fields.includeChecklist === true,
fields.customInstructions || null,
]
);
@@ -151,7 +151,7 @@ async function upsertPrompt(pgPool, email, fields) {
include_attendees: fields.includeAttendees,
include_summary: fields.includeSummary,
include_action_items: fields.includeActionItems,
include_checklist: true,
include_checklist: fields.includeChecklist === true,
custom_instructions: fields.customInstructions || null,
updated_at: t,
created_at: prev.created_at || t,