@squidcloud/client
    Preparing search index...

    Interface AiChatPromptQuotas

    Quotas for a single AI chat prompt (ask() method call).

    interface AiChatPromptQuotas {
        maxAiCallStackSize: number;
        maxRuntimeSeconds?: number;
    }
    Index

    Properties

    maxAiCallStackSize: number

    Maximum depth of AI call recursion allowed. Recursion occurs when one AI agent calls another. Note that, for simplicity of implementation, this option guarantees only the maximum recursion depth, not the total number of nested AI calls. Default: 5.

    maxRuntimeSeconds?: number

    Maximum wall-clock runtime, in seconds, of a single prompt for CLI-agent models (Claude Code, Codex). Optional override of the per-call self-kill deadline — mainly to tighten it for stricter runaway protection — clamped to [30, 1800]. Ignored for non-CLI-agent models. Default: the platform maximum (30 minutes).