Shorten strategy response window to 12 hours
This commit is contained in:
1 parent
e7c29f91f2
commit
9e1b1aeefe
3 files changed
+8
-5
No files matched your search
+4
-4
@@ -131,23 +131,23 @@ export const ConfigSchema = z.object({
|
||||
strategies: z.object({
|
||||
explorationRate: z.number().min(0).max(1).default(0.2),
|
||||
minSamples: z.number().int().positive().transform((value) => Math.max(30, value)).default(30),
|
||||
responseWindowHours: z.number().positive().default(48),
|
||||
responseWindowHours: z.number().positive().default(12),
|
||||
variants: z.array(z.object({
|
||||
id: z.string(),
|
||||
weight: z.number().default(1),
|
||||
promptOverride: z.string(),
|
||||
})).default([]),
|
||||
}).default({ explorationRate: 0.2, minSamples: 30, responseWindowHours: 48, variants: [] }),
|
||||
}).default({ explorationRate: 0.2, minSamples: 30, responseWindowHours: 12, variants: [] }),
|
||||
chatStrategies: z.object({
|
||||
explorationRate: z.number().min(0).max(1).default(0.2),
|
||||
minSamples: z.number().int().positive().transform((value) => Math.max(30, value)).default(30),
|
||||
responseWindowHours: z.number().positive().default(48),
|
||||
responseWindowHours: z.number().positive().default(12),
|
||||
variants: z.array(z.object({
|
||||
id: z.string(),
|
||||
weight: z.number().default(1),
|
||||
promptOverride: z.string(),
|
||||
})).default([]),
|
||||
}).default({ explorationRate: 0.2, minSamples: 30, responseWindowHours: 48, variants: [] }),
|
||||
}).default({ explorationRate: 0.2, minSamples: 30, responseWindowHours: 12, variants: [] }),
|
||||
web: z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
port: z.number().default(3000),
|
||||
|
||||
Reference in new issue
Block a user