Spaces:
Runtime error
Runtime error
Commit History
-
feat: Complete agent architecture refactoring and testing frameworkβ
## Major Architecture Improvements ### ποΈ Enhanced ToolCall Structure - Added explicit 'task' field to ToolCall dataclass - Eliminated confusion between tool selection and task selection - Removed deprecated 'subtask' terminology throughout codebase ### βοΈ Configuration Architecture Refactoring - Created centralized geography.yaml config (provinces, municipalities, alert zones) - Added tool_registry.yaml for tool registration and management - Enhanced llm_router_config.yaml with task-specific prompts - Eliminated legacy services/geographic/ resolver ### π§ Tool Interface Standardization - Updated OMIRL adapter to use 'task' parameter (not 'subtask') - Added default period logic: massimi_precipitazione defaults to '1h' when not specified - Enhanced parameter normalization (15m β 15' mapping) - Improved error handling and validation ### π§ͺ Comprehensive Testing Framework - Added complete end-to-end flow tests (no mocks) - Tests cover: Query β LLM Router β Tool Execution β Response Gβ¦fbd9fda