Documentation
¶
Overview ¶
Package httpx provides pre-configured http.Client instances with sensible timeouts for llmconfig's HTTP calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var API = &http.Client{ Timeout: 30 * time.Second, Transport: transport, }
API is for quick JSON calls (GitHub/HF APIs). 30s overall request budget.
View Source
var Download = &http.Client{Transport: transport}
Download is for long-running body streams (model files, release tarballs). No overall request timeout; connect/TLS/response-header bounds still apply, so a hung server fails fast instead of wedging the CLI forever.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.