mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-10 15:39:39 +00:00

* Initial check-in of agbench * Moved agbench to intended directory. * Removed pyautogen dependency * moved to using process_until_idle * Added TeamOne template. * User TeamOne agent classes. * migrate to hatch, move benchmarks out, add CI (#166) * Resolve type issues (#168) Thanks for fixing types. * Fixed import. --------- Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
16 lines
324 B
Python
16 lines
324 B
Python
# Disable ruff linter for template files
|
|
# ruff: noqa: F821 E722
|
|
import sys
|
|
|
|
|
|
__TEST__
|
|
|
|
|
|
def run_tests(candidate):
|
|
try:
|
|
check(candidate)
|
|
# We can search for this string in the output
|
|
print("ALL TESTS PASSED !#!#")
|
|
except AssertionError:
|
|
sys.exit("SOME TESTS FAILED - TRY AGAIN !#!#")
|