When the prompt and output are large and LLM needs more time to generate the response the `$chat()` method is prone to result in ``` ! Failed to perform HTTP request. ! Timeout was reached [api.openai.com]: SSL/TLS connection timeout ``` It would be good to have some way to set / increase `httr2::req_timeout()` in `chat_perform_value` https://github.com/tidyverse/elmer/blob/47ef8ecbb562fa208ba59176794bdaf58273a429/R/httr2.R#L31
When the prompt and output are large and LLM needs more time to generate the response the
$chat()method is prone to result inIt would be good to have some way to set / increase
httr2::req_timeout()inchat_perform_valuehttps://github.com/tidyverse/elmer/blob/47ef8ecbb562fa208ba59176794bdaf58273a429/R/httr2.R#L31