@archastro/sdk
    Preparing search index...

    Interface PresetConfig

    Configuration for a preset routine handler. Controls the agent's behavior, session persistence, and model selection for a given routine or chain step.

    interface PresetConfig {
        instructions?: string;
        llm?: LLMConfig;
        session_mode?: string;
        session_scope?: string;
        structured_message_template_ids?: string[];
    }
    Index

    Properties

    instructions?: string

    Custom task or behavior instructions for the preset (max 10,000 chars).

    llm?: LLMConfig

    LLM invocation settings (e.g. a model override for this routine/step).

    session_mode?: string

    Session mode: stateless (default, new session per trigger) or session (find-or-create a persistent session scoped by session_scope).

    session_scope?: string

    When session_mode is session, controls session scoping: per_user (default), per_key, per_org, or global.

    structured_message_template_ids?: string[]

    IDs of structured message templates that constrain the agent's responses to predefined structured formats.