Flarum (2.x)
    Preparing search index...

    Interface Connection

    A connection as the admin page holds it. The server never sends a key, only whether one is saved. A key is set here only between the admin typing a new one (or '' to remove it) and saving.

    interface Connection {
        driver: string;
        guardrail_id?: string;
        guardrail_version?: string;
        hasKey?: boolean;
        include_stream_usage?: boolean;
        key?: string;
        model?: string;
        monthly_tokens?: number;
        region?: string;
        url?: string;
    }
    Index
    driver: string
    guardrail_id?: string

    A Bedrock connection's guardrail ID or ARN, and the version it uses.

    guardrail_version?: string
    hasKey?: boolean
    include_stream_usage?: boolean
    key?: string
    model?: string
    monthly_tokens?: number
    region?: string

    For providers reached by region, such as Bedrock.

    url?: string