Class TaskSubAgentDemo.FoodDelivery
java.lang.Object
com.example.workflows.TaskSubAgentDemo.FoodDelivery
- Enclosing class:
TaskSubAgentDemo
A mock food-delivery backend whose methods the agents call as tools.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConfirm proceeding with the order.placeOrder(List<TaskSubAgentDemo.OrderItem> orders, TaskSubAgentDemo.PaymentInfo paymentInfo) Mock an order placement operation.
-
Constructor Details
-
FoodDelivery
public FoodDelivery()
-
-
Method Details
-
placeOrder
public String placeOrder(List<TaskSubAgentDemo.OrderItem> orders, TaskSubAgentDemo.PaymentInfo paymentInfo) Mock an order placement operation. -
confirmation
Confirm proceeding with the order.
-