@squidcloud/client
    Preparing search index...

    Interface AiApiOptions

    Options for configuring AI API call execution.

    interface AiApiOptions {
        instructions?: string;
        maxIterations?: number;
        memoryOptions?: AiAgentMemoryOptions;
    }
    Index

    Properties

    instructions?: string

    Custom instructions appended to the endpoint-selection, body-construction, and response-analysis prompts.

    maxIterations?: number

    Maximum number of distinct API calls the AI is allowed to make for one user prompt. Default 4.

    memoryOptions?: AiAgentMemoryOptions

    Conversation memory configuration. When provided, prior user prompts and AI answers under the same memoryId are provided as additional context to the AI, enabling cross-prompt follow-ups Defaults to no memory.