Add endpoint policy and redirect-safe ephemeral HTTP client, error mapping, catalog cache and version checks, streaming chat with phase timeouts/cancellation, provisional Hy-MT3 prompt/language/request factory, warm-up policy, and sprachmittler-cli models/show/translate. Recapture the 7B fixtures; defer the 1.8B VERIFY items; document ADR-016. Also fix the signature checker's pipefail SIGPIPE issue.
12 lines
370 B
Swift
12 lines
370 B
Swift
/// The phase in which an Ollama request timed out.
|
|
public enum TimeoutPhase: Sendable, Equatable {
|
|
/// TCP connect plus TLS.
|
|
case connect
|
|
/// Request sent until the first content byte; includes a cold model load.
|
|
case firstToken
|
|
/// Gap between stream lines once streaming has started.
|
|
case idle
|
|
/// Hard cap for one chunk.
|
|
case total
|
|
}
|