Strands Agents Typescript SDK
    Preparing search index...

    Interface BaseModelConfig

    Base configuration interface for all model providers.

    This interface defines the common configuration properties that all model providers should support. Provider-specific configurations should extend this interface.

    interface BaseModelConfig {
        modelId?: string;
        maxTokens?: number;
        temperature?: number;
        topP?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    modelId?: string

    The model identifier. This typically specifies which model to use from the provider's catalog.

    maxTokens?: number

    Maximum number of tokens to generate in the response.

    Provider-specific documentation for exact behavior

    temperature?: number

    Controls randomness in generation.

    Provider-specific documentation for valid range

    topP?: number

    Controls diversity via nucleus sampling.

    Provider-specific documentation for details