httpx

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2026 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL