fix(frontend): update ModelInfoResponse types to match backend structure

- Update TypeScript types to match flat backend response structure
- Remove nested model_info and metrics objects
- Remove label_config, use labels array and per_class_metrics array
- Update all component references to use new structure
- Generate default colors for prediction labels in CandleChart
- Fix TypeScript type errors for nullable model_version
- Remove accuracy/F1 metrics display (not in new response)
This commit is contained in:
Marko Djordjevic 2026-02-15 21:39:38 +01:00
parent aa81d4f3d0
commit 5a7c901980
95 changed files with 326 additions and 63 deletions

View file

@ -0,0 +1,10 @@
artifact_location: file:///home/homoludens/projekti/bitcon/candle_annotator/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts
creation_timestamp: 1771187598541
experiment_id: '358560345319124639'
last_updated_timestamp: 1771187605161
model_id: m-cf12ffc008e047e1a37f58efe209422c
model_type: ''
name: model
source_run_id: 509970efc3e0494ba3c2fbd7dd24d438
status: 2
status_message: null