-
Notifications
You must be signed in to change notification settings - Fork 43.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rnd): Add Agent Block sample/test input output for auto-generated unit testing for block #7310
feat(rnd): Add Agent Block sample/test input output for auto-generated unit testing for block #7310
Conversation
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
β Deploy Preview for auto-gpt-docs canceled.
|
ecc667c
to
af642fe
Compare
Conflicts have been resolved! π A maintainer will review the pull request shortly. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! π A maintainer will review the pull request shortly. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! π A maintainer will review the pull request shortly. |
Background
Sample test input and output on the block can serve as documentation and auto-generated unit-testing code for the agent block.
What's within the scope of this change:
Adding the fields for block test (input, output, mocks), and its execution.
What's still outside the scope:
Handling of mock and stub for a block using sensitive credentials or network calls or 3rd-party connections.
Changes ποΈ
test_input
andtest_output
forBlock
classBlock
by using the providedtest_input
andtest_output
.PR Quality Scorecard β¨
+2 pts
+5 pts
+5 pts
+5 pts
-4 pts
+4 pts
+5 pts
-5 pts
agbenchmark
to verify that these changes do not regress performance? β+10 pts