Skip to content

Timeout was reached #213

Description

@kalimu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions