Class TodoListInterceptor.Todo
java.lang.Object
com.alibaba.cloud.ai.graph.agent.interceptor.todolist.TodoListInterceptor.Todo
- Enclosing class:
- TodoListInterceptor
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.
-
Constructor Summary
ConstructorsConstructorDescriptionTodo()Todo(String content, TodoListInterceptor.TodoStatus status) Todo(String content, TodoListInterceptor.TodoStatus status, String activeForm) -
Method Summary
Modifier and TypeMethodDescriptionThe present continuous form shown during execution (e.g., "Running tests").voidsetActiveForm(String activeForm) voidsetContent(String content) voidtoString()
-
Constructor Details
-
Todo
public Todo() -
Todo
-
Todo
-
-
Method Details