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
-
Comprehensive update: LLM Router implementation and Docker fixes
Major Features: - Implemented LLM Router with support for multiple providers (Gemini, OpenAI, Anthropic) - Added LLM router configuration and validation system - New agent architecture with improved state management and nodes - Enhanced geographic services and text summarization capabilities Docker Improvements: - Fixed Playwright installation using 'python -m playwright install chromium' - Added PATH configuration for app user to resolve Streamlit executable issues - Cleaned up system dependencies and removed conflicting environment variables Security & Configuration: - Added pre-commit security hooks for API key protection - Implemented comprehensive secret checking system - Enhanced .gitignore for better security coverage - Added environment configuration management - Fixed API key pattern detection to avoid false positives in code/docs Documentation: - Added deployment guide and progress tracking documents - Documented LLM router progress and integration tasks - Added security s…e45fdd8