Checkpoint: isSubscription appliqué lors des imports. Seuil de confiance persisté en base (champ learningConfidenceThreshold dans userSettings). LearningSettings.tsx charge et sauvegarde le seuil via settings.get/upsert.
This commit is contained in:
1
drizzle/0019_smooth_lord_hawal.sql
Normal file
1
drizzle/0019_smooth_lord_hawal.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `userSettings` ADD `learningConfidenceThreshold` int DEFAULT 2 NOT NULL;
|
||||
1702
drizzle/meta/0019_snapshot.json
Normal file
1702
drizzle/meta/0019_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -134,6 +134,13 @@
|
||||
"when": 1776019747088,
|
||||
"tag": "0018_warm_changeling",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 19,
|
||||
"version": "5",
|
||||
"when": 1776021930426,
|
||||
"tag": "0019_smooth_lord_hawal",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -146,6 +146,8 @@ export const userSettings = mysqlTable("userSettings", {
|
||||
sftpAutoExport: int("sftpAutoExport").default(0).notNull(), // 0 = manual, 1 = automatic
|
||||
// LLM Logs retention
|
||||
llmLogsRetentionMonths: int("llmLogsRetentionMonths").default(3).notNull(), // Durée de conservation des logs LLM en mois (défaut: 3 mois)
|
||||
// Seuil de confiance pour les apprentissages IA
|
||||
learningConfidenceThreshold: int("learningConfidenceThreshold").default(2).notNull(), // Nombre minimum d'applications pour marquer un apprentissage comme Confirmé
|
||||
createdAt: timestamp("createdAt").defaultNow().notNull(),
|
||||
updatedAt: timestamp("updatedAt").defaultNow().onUpdateNow().notNull(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user