Interface IBaseCompletionArgs<Message>

Base interface representing the common arguments required for all completion requests. Contains only the essential fields shared by all completion types. Extended by IOutlineCompletionArgs and ISwarmCompletionArgs to add specific fields.

interface IBaseCompletionArgs<
    Message extends IBaseMessage<any> = IBaseMessage<BaseMessageRole>,
> {
    clientId: string;
    messages: Message[];
}

Type Parameters

Hierarchy (View Summary)

Properties

Properties

clientId: string

client identifier for tracking and error handling.

messages: Message[]

An array of messages providing the conversation history or context for the completion.