fix: resolve agent registration type validation test
✅ 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
This commit is contained in:
@@ -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"}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user