diff --git a/DESCRIPTION b/DESCRIPTION index f902a55..7e59fe1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: finnts Title: Microsoft Finance Time Series Forecasting Framework -Version: 0.6.0.9014 +Version: 0.6.0.9015 Authors@R: c(person(given = "Mike", family = "Tokic", diff --git a/NEWS.md b/NEWS.md index 533c2ce..a1e5215 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# finnts 0.6.0.9014 (development version) +# finnts 0.6.0.9015 (development version) ## Improvements - TimeGPT Integration diff --git a/R/agent_iterate_forecast.R b/R/agent_iterate_forecast.R index 1d21501..a59a2ca 100644 --- a/R/agent_iterate_forecast.R +++ b/R/agent_iterate_forecast.R @@ -597,6 +597,7 @@ load_agent_forecast <- function(agent_info, ) run_name <- x$best_run_name + multiple_recipes <- grepl("---", x$recipes_to_run) multiple_models <- grepl("---", x$models_to_run) average_models <- x$average_models @@ -608,7 +609,7 @@ load_agent_forecast <- function(agent_info, "-single_models.", project_info$data_output ) %>% fs::path_tidy() - if (multiple_models & average_models) { + if ((multiple_models | multiple_recipes) & average_models) { # add average model file if multiple models were run and averaging was selected file_list <- c( file_list,