mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
fix: address code review issues for Task 1
- Add test for ValueError when all simulations completed - Include warnings in API response for user visibility - Improve error message validation in tests
This commit is contained in:
@@ -318,6 +318,7 @@ def create_app(
|
||||
status="pending",
|
||||
total_model_days=len(all_dates) * len(models_to_run),
|
||||
message=message,
|
||||
warnings=warnings if warnings else None,
|
||||
**deployment_info
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user