diff --git a/DESCRIPTION b/DESCRIPTION index 21c48b9..4ffdb62 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -40,3 +40,5 @@ Suggests: testthat (>= 3.0.0) Config/testthat/edition: 3 VignetteBuilder: knitr +Remotes: r-lib/httr2 + diff --git a/R/backend-openai-core.R b/R/backend-openai-core.R index ef7d5a1..755806e 100644 --- a/R/backend-openai-core.R +++ b/R/backend-openai-core.R @@ -52,7 +52,7 @@ openai_stream_ide <- function(defaults, req_body) { openai_stream_ide_delta(x, defaults) TRUE }, - buffer_kb = 0.1 + buffer_kb = 0.1, round = "line" ) if (!ui_current_console()) ide_paste_text("\n\n") ret <- ch_env$stream$response @@ -121,7 +121,7 @@ openai_stream_file <- function( openai_stream_file_delta(x, defaults, r_file_stream) TRUE }, - buffer_kb = 0.05 + buffer_kb = 0.05, round = "line" ) ret <- readRDS(r_file_stream) saveRDS(ret, r_file_complete)