Table of Contents

Interface IAgentTask

Namespace
JD.AI.Core.Agents.Tasks
Assembly
JD.AI.Core.dll
public interface IAgentTask

Properties

Ct

CancellationToken Ct { get; }

Property Value

CancellationToken

Description

string? Description { get; }

Property Value

string

Id

string Id { get; }

Property Value

string

StartTime

DateTimeOffset StartTime { get; }

Property Value

DateTimeOffset

Status

AgentTaskStatus Status { get; }

Property Value

AgentTaskStatus

Type

AgentTaskType Type { get; }

Property Value

AgentTaskType

Methods

ExecuteAsync(CancellationToken)

Task<string> ExecuteAsync(CancellationToken ct)

Parameters

ct CancellationToken

Returns

Task<string>