nexus-agents - v2.80.0
    Preparing search index...

    Interface SdkAdapterConfig

    Configuration for creating an AI SDK adapter.

    interface SdkAdapterConfig {
        providerId: SdkProviderId;
        modelId: string;
        apiKey?: string;
        baseUrl?: string;
        timeout?: number;
        maxRetries?: number;
    }
    Index

    Properties

    providerId: SdkProviderId

    Provider identifier

    modelId: string

    Model to use (e.g., 'claude-sonnet-4-6', 'gpt-4o')

    apiKey?: string

    API key (falls back to environment variable)

    baseUrl?: string

    Base URL for OpenAI-compatible gateways. Required when providerId === 'custom-openai', ignored otherwise. Falls back to the NEXUS_CUSTOM_API_BASE_URL environment variable.

    timeout?: number

    Request timeout in milliseconds

    maxRetries?: number

    Maximum retries on transient failures