Implements

  • LanguageModel

Constructors

Properties

apiKey: (() => undefined | string)

Type declaration

    • (): undefined | string
    • Returns undefined | string

defaultRequestSettings?: {
    [key: string]: unknown;
}

Type declaration

  • [key: string]: unknown
enableStreaming: boolean
id: string
model: string

Methods

  • Parameters

    • anthropic: Anthropic
    • request: LanguageModelRequest
    • Optional cancellationToken: CancellationToken

    Returns Promise<LanguageModelStreamResponse>