Skip to main content

HTTP_AI_TIMEOUT

Constant HTTP_AI_TIMEOUT 

Source
pub const HTTP_AI_TIMEOUT: Duration;
Expand description

Anthropic API requests from cfgd generate and cfgd ai. Claude latency for agentic tool use is normally a few seconds; 120s is a ceiling for pathological slow networks. Must have some timeout — before this constant the request had none at all.