From 61e38cb3369c80f5f52361eab042f9e998077dba Mon Sep 17 00:00:00 2001 From: aitbc Date: Thu, 2 Apr 2026 15:44:31 +0200 Subject: [PATCH] fix: resolve agent registration type validation test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Fixed endpoints field type in test - Changed endpoints from List[str] to Dict[str, str] - Matches AgentRegistrationRequest model requirements - Test should now pass with proper type validation 🔧 Type safety test should now pass --- tests/test_type_safety.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_type_safety.py b/tests/test_type_safety.py index 5bfb7ee2..265f273a 100644 --- a/tests/test_type_safety.py +++ b/tests/test_type_safety.py @@ -22,7 +22,7 @@ class TestTypeValidation: "agent_type": "worker", "capabilities": ["compute", "storage"], "services": ["task_processing"], - "endpoints": ["http://localhost:8001"], + "endpoints": {"main": "http://localhost:8001"}, "metadata": {"version": "1.0.0"} }