fix(ml): make pair and timeframe optional in PredictRequest

- Change pair and timeframe fields from required to optional
- Frontend only sends candles array, not pair/timeframe metadata
- These fields are only used for logging, not prediction logic
- Update logging to handle None values with 'unknown' fallback
- Fixes 422 validation error on /predict endpoint
This commit is contained in:
Marko Djordjevic 2026-02-15 21:43:14 +01:00
parent 5a7c901980
commit 6d0d67e39b
2 changed files with 3 additions and 3 deletions