fix(training): use selected chart and include TA-Lib span sources

This commit is contained in:
Marko Djordjevic 2026-02-18 23:21:23 +01:00
parent 3448c6febd
commit 07064fbf40
6 changed files with 89 additions and 22 deletions

View file

@ -6,6 +6,7 @@ const INFERENCE_API_TIMEOUT = parseInt(process.env.INFERENCE_API_TIMEOUT || '100
const TrainingStartRequestSchema = z.object({
model_type: z.string().min(1, 'model_type must be a non-empty string'),
chart_id: z.number().int().positive().optional(),
});
export async function POST(request: NextRequest) {