Class TodoListInterceptor.Todo

java.lang.Object
com.alibaba.cloud.ai.graph.agent.interceptor.todolist.TodoListInterceptor.Todo
Enclosing class:
TodoListInterceptor

public static class TodoListInterceptor.Todo extends Object
Represents a single todo item.

Task descriptions must have two forms:

  • content: The imperative form describing what needs to be done (e.g., "Run tests", "Build the project")
  • activeForm: The present continuous form shown during execution (e.g., "Running tests", "Building the project"). When null or blank, content is used as fallback for backward compatibility.