Commit Graph

14 Commits

Author SHA1 Message Date
Yeuoly 9730b7dc63 tests: enhance integration testing for specific plugins (#242)
* feat: enhance integration testing for specific plugins

- Added integration tests for the official agent, including test data for agent strategy invocation.
- Introduced JSON schema generation and validation utilities to ensure proper request formatting.
- Enhanced mock invocation handling in the plugin manager to support tool parameters.
- Added new test utilities for simulating OpenAI server responses and managing plugin runtime.

* fix: update RunOnce function to return response stream and enhance integration test

- Modified the RunOnce function to return a response stream instead of an error, allowing for better handling of streamed responses.
- Updated the integration test for the official agent to read from the response stream, ensuring proper validation of the agent strategy invocation.
2025-04-24 16:33:50 +08:00
Bowen Liang d918e0292d chore: modernize GHA versions (#226) 2025-04-20 17:43:38 +08:00
Bowen Liang ef676bee47 chore: align go version in GHA to 1.23 (#225) 2025-04-20 17:43:05 +08:00
He Wang 19c1009fb4 test plugin server with mysql 2025-03-27 11:54:27 +08:00
Yeuoly cc239fd52f fix: github workflows 2024-10-17 15:51:58 +08:00
Yeuoly ab8de2036a chore: upgrade to 1.21.6 2024-08-28 13:56:08 +08:00
Yeuoly 2783171b04 fix: upgrade github workflows golang version to 1.21.6 2024-08-28 13:54:33 +08:00
Yeuoly e17ff25acc feat: add db tests 2024-08-06 23:31:22 +08:00
Yeuoly 7de9d7ea92 fix: redis password 2024-07-26 17:11:51 +08:00
Yeuoly 57f56125b0 feat: connection keys 2024-07-26 17:10:02 +08:00
Yeuoly be0a7e85c4 fix: key for tests 2024-07-19 18:17:08 +08:00
Yeuoly 957b3cd449 feat: tests 2024-07-19 18:12:52 +08:00
Yeuoly e8389f35d6 feat: tests 2024-07-19 18:08:14 +08:00
Yeuoly 708989be6e feat: tests 2024-07-19 18:06:27 +08:00