Skip to main content

Exception hierarchy

Basic pattern

Timeouts

The default timeout is 60 seconds. Increase it for long completions:
If a request times out, a KiteFishAIError is raised with a descriptive message.

Retries

The SDK automatically retries on timeout and network errors. Default is 2 retries:
To disable retries:
Retries are only attempted on network-level failures and timeouts — not on API errors like 401 or 429.