Request event of LLM provider API.

interface IRequest {
    body: ChatCompletionCreateParamsNonStreaming;
    options?: RequestOptions;
    source: NestiaAgentSource;
    type: "request";
}

Hierarchy

  • IBase<"request">
    • IRequest

Properties

body: ChatCompletionCreateParamsNonStreaming

Request body.

options?: RequestOptions

Options for the request.

The source agent of the request.

type: "request"

Discriminator type.