yao/openapi/agent
Max 3ef536c1e7 Add Activity Type Filtering to ListActivities API
- Introduced a new `Type` field in the `ActivityQuery` struct to allow filtering activities by type (e.g., execution.started, execution.completed, execution.failed, execution.cancelled).
- Updated the `ListActivities` method in `ExecutionStore` to handle the new type filter, mapping it to corresponding execution statuses.
- Enhanced unit tests in `execution_test.go` to validate filtering by activity type, including tests for valid and invalid type scenarios.
- Modified OpenAPI definitions and related types to support the new type filter in the activities endpoint, improving API usability and flexibility.
2026-01-24 18:28:16 +08:00
..
robot Add Activity Type Filtering to ListActivities API 2026-01-24 18:28:16 +08:00
agent.go Enhance Robot API with Permission Fields and Status Management 2026-01-22 12:21:44 +08:00
assistant.go Enhance Assistant Filtering with Multi-Type Support 2026-01-22 19:21:51 +08:00
filter.go Refactor assistant capabilities and update data handling 2025-12-02 12:36:47 +08:00
models.go Refactor assistant capabilities and update data handling 2025-12-02 12:36:47 +08:00
types.go Enhance Assistant Filtering with Multi-Type Support 2026-01-22 19:21:51 +08:00