- Add getRateLimitDelay() function to read delay from environment
- When RATE_LIMIT_DELAY_MS is not set or 0, use original model without wrapper
- Remove debug print statements from rateLimitedModel
Change-Id: I491d061b90530a84976e26952c7245f821553d1c
Add four new examples demonstrating interrupt/resume functionality with
prebuilt multi-agent patterns:
- 5_supervisor: Supervisor pattern with approval for fund transfers
- 6_plan-execute-replan: Plan-Execute-Replan with review-edit for bookings
- 7_deep-agents: Deep agents with follow-up for clarification questions
- 8_supervisor-plan-execute: Nested architecture with Plan-Execute-Replan
as sub-agent under Supervisor, demonstrating deep interrupt propagation
Each example includes:
- Semantically meaningful scenarios (financial advisor, travel booking,
data analysis, project management)
- Rate-limited model wrapper for test environments
- English and Chinese README documentation
Also includes:
- Fix errorremover middleware to propagate interrupt errors correctly
- Add .trae to .gitignore
Change-Id: I1a7e21936bf7015d2d2c08c4b9e78cdd7c07da8b