Skip to main content

Module http

Module http 

Source
Expand description

The one HTTP client of the LLM layer: timeouts, no redirects (a 3xx is an error, so the API key never goes to a second host), the key only in its request header.

Structs§

HttpTransport
HTTPS to the configured API.

Constants§

REQUEST_TIMEOUT
Time limit of one HTTP call.