Add agentic module: sequential, parallel, loop, supervisor and error-recovery workflows
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
Order the agents ran in:
|
||||
findFlight read [traveler, destination] and wrote AI-101 Mumbai to Lisbon
|
||||
findHotel read [traveler, destination] and wrote Hotel Alfama
|
||||
findActivity read [traveler, destination] and wrote Tram 28
|
||||
write read [hotels, activities, destination, flights] and wrote Fly AI-101, stay at Hotel Alfama, ride Tram 28.
|
||||
|
||||
Shared state at the end:
|
||||
traveler = Ankur
|
||||
hotels = Hotel Alfama
|
||||
activities = Tram 28
|
||||
destination = Lisbon
|
||||
flights = AI-101 Mumbai to Lisbon
|
||||
plan = Fly AI-101, stay at Hotel Alfama, ride Tram 28.
|
||||
|
||||
The prompt the planner was sent (last model call):
|
||||
Write a one-line itinerary for Lisbon. Flight: AI-101 Mumbai to Lisbon. Hotel: Hotel Alfama. Activity: Tram 28.
|
||||
|
||||
Model calls: 4
|
||||
Reference in New Issue
Block a user