interface Protocol<Model extends ILlmSchema.Model> {
    arguments: Record<string, unknown>;
    created_at: string & Format<"date-time">;
    id: string;
    operation: AgenticaOperation.Http;
    protocol: "http";
    toHistory: () => AgenticaExecuteHistory.Http;
    toJSON: () => IAgenticaEventJson.IExecute;
    type: "execute";
    value: IHttpResponse;
}

Type Parameters

  • Model extends ILlmSchema.Model

Hierarchy

Properties

arguments: Record<string, unknown>
created_at: string & Format<"date-time">

Creation timestamp of the event.

id: string

Primary key of the event.

protocol: "http"
toHistory: () => AgenticaExecuteHistory.Http
type: "execute"

Discriminator type.

value: IHttpResponse