fix(training): use selected chart and include TA-Lib span sources
This commit is contained in:
parent
3448c6febd
commit
07064fbf40
6 changed files with 89 additions and 22 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -856,7 +856,7 @@ export default function Home() {
|
|||
|
||||
{/* Training Panel */}
|
||||
<div className="px-3 py-2 border-b border-sidebar-border">
|
||||
<TrainingPanel />
|
||||
<TrainingPanel activeChartId={activeChartId} />
|
||||
</div>
|
||||
|
||||
{/* Predictions */}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue