3 Commits (drew/english)

Author SHA1 Message Date
shentong.martin c396f82e82 feat: make rate limit delay configurable via RATE_LIMIT_DELAY_MS env var
- 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
5 months ago
shentong.martin f3c86a123c fix: remove redundant newlines and apply gofmt formatting
Change-Id: I0e3b7a87011ff7a6a2d1c00f456f4c36569576a2
5 months ago
shentong.martin 7c56672353 feat(adk): add human-in-the-loop examples for multi-agent patterns
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
5 months ago