bothy-sdk
    Preparing search index...

    Interface FakeServerOptions

    The options of FakeServer; every member is optional.

    interface FakeServerOptions {
        ackTimeoutMs?: number;
        billingMode?: "personal" | "organization";
        clock?: FakeClock;
        dpop?: boolean;
        timings?: Readonly<Record<string, number>>;
        tokenTtlMs?: number;
        toolClass?: "host" | "chat" | "scoped";
    }
    Index

    Properties

    ackTimeoutMs?: number

    Shortcut for the timing agent.ack_timeout in milliseconds.

    billingMode?: "personal" | "organization"

    Lotse's configured billing mode. Default organization.

    clock?: FakeClock

    The clock shared with the SDK under test; a new FakeClock when absent.

    dpop?: boolean

    Bind Lotse's API token to a DPoP key (credentials.dpop); else a bearer token. Default true.

    timings?: Readonly<Record<string, number>>

    Server keys to override (agent.invocation_token_ttl, auth.clock_leeway, agent.ack_timeout, agent.ack_persist_interval, sync.heartbeat_interval, sync.resume_window, agent.max_inflight_events, command.autocomplete_timeout, agent.jwks_max_age, agent.cancel_grace, auth.dpop_nonce_ttl, auth.dpop_proof_max_age): durations in milliseconds, agent.max_inflight_events a count.

    tokenTtlMs?: number

    Shortcut for the timing agent.invocation_token_ttl in milliseconds.

    toolClass?: "host" | "chat" | "scoped"

    Lotse's configured tool class. Default scoped.