- Add CandleSchema validating time, open, high, low, close (number) and optional volume - Add PredictRequestSchema validating pair (non-empty string), timeframe (non-empty string), candles array - Use safeParse() and return HTTP 400 with error details on invalid input - Forward only validated data to the inference service - Mark task 4.1 as done in tasks.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| changes | ||
| specs | ||
| config.yaml | ||