yao/agent/robot/types
Max bcbb6b8024 Refactor Robot Execution and Pool Management
- Updated the Executor to implement atomic slot acquisition for robot executions, preventing race conditions and ensuring proper quota management.
- Introduced the TryAcquireSlot method in the Robot struct for atomic checks and reservations of execution slots, enhancing concurrency handling.
- Adjusted the Worker to requeue tasks when quota is exceeded, improving error handling and system stability.
- Enhanced tests for concurrent access and quota management, ensuring robust functionality under load conditions.
- Updated comments and documentation for clarity on new methods and their intended use.
2026-01-14 20:41:02 +08:00
..
clock.go Enhance Robot Cache Implementation and Documentation 2026-01-14 18:54:18 +08:00
clock_test.go Update TODO.md to Reflect Completion of Phases 1 and 2 2026-01-14 18:03:08 +08:00
config.go Enhance Robot Cache Implementation and Documentation 2026-01-14 18:54:18 +08:00
config_test.go Update TODO.md to Reflect Completion of Phases 1 and 2 2026-01-14 18:03:08 +08:00
context.go Enhance Robot Cache Implementation and Documentation 2026-01-14 18:54:18 +08:00
enums.go Enhance Type Definitions and Error Handling Documentation 2026-01-14 18:19:36 +08:00
enums_test.go Update TODO.md to Reflect Completion of Phases 1 and 2 2026-01-14 18:03:08 +08:00
errors.go Refactor Robot Execution and Pool Management 2026-01-14 20:41:02 +08:00
inspiration.go Update TODO.md to Reflect Completion of Phases 1 and 2 2026-01-14 18:03:08 +08:00
interfaces.go Update TODO.md to Reflect Completion of Phases 1 and 2 2026-01-14 18:03:08 +08:00
request.go Enhance Robot Cache Implementation and Documentation 2026-01-14 18:54:18 +08:00
robot.go Refactor Robot Execution and Pool Management 2026-01-14 20:41:02 +08:00
robot_test.go Refactor Robot Execution and Pool Management 2026-01-14 20:41:02 +08:00