Request event of LLM vendor API.

interface IRequest {
    body: ChatCompletionCreateParamsStreaming;
    options?: RequestOptions;
    source: AgenticaEventSource;
    type: "request";
}

Hierarchy

  • IBase<"request">
    • IRequest

Properties

body: ChatCompletionCreateParamsStreaming

Request body.

options?: RequestOptions

Options for the request.

The source agent of the request.

type: "request"

Discriminator type.