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:
aitbc
2026-04-02 15:44:31 +02:00
parent 8c215b589b
commit 61e38cb336

View File

@@ -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"}
}