The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: use valid 2-task batches in schema-rejection tests
Teknium0ebaa490b515
diff --git a/tests/tools/test_delegate_output_schema.py b/tests/tools/test_delegate_output_schema.pyindex 6ee1c0ea2b7..49dfb9e57a5 100644--- a/tests/tools/test_delegate_output_schema.py+++ b/tests/tools/test_delegate_output_schema.py@@ -289,7 +289,10 @@ class TestDelegateTaskDispatch:),):out = delegate_task(- tasks=[{"goal": "x", "output_schema": "not-a-dict"}],+ tasks=[+ {"goal": "Summarize the release notes for module A", "output_schema": "not-a-dict"},+ {"goal": "Summarize the release notes for module B"},+ ],parent_agent=_make_mock_parent(),)payload = json.loads(out)@@ -311,7 +314,10 @@ class TestDelegateTaskDispatch:),):out = delegate_task(- tasks=[{"goal": "x", "output_schema": {"type": 42}}],+ tasks=[+ {"goal": "Summarize the release notes for module A", "output_schema": {"type": 42}},+ {"goal": "Summarize the release notes for module B"},+ ],parent_agent=_make_mock_parent(),)payload = json.loads(out)