Skip to content

Commit

Permalink
Minor change to forecast function.
Browse files Browse the repository at this point in the history
  • Loading branch information
MMenchero committed Dec 7, 2023
1 parent 923d1cc commit bd3672c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/timegpt_forecast.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ timegpt_forecast <- function(df, h=8, freq=NULL, id_col=NULL, time_col="ds", tar
"authorization" = paste("Bearer", .get_token())
) |>
httr2::req_user_agent("nixtlar") |>
httr2::req_body_json(data = timegpt_data) |>
httr2::req_body_json(data = timegpt_data, digits=10) |>
httr2::req_perform()

# Extract forecast ----
Expand Down

0 comments on commit bd3672c

Please sign in to comment.