Fix TimedObservationContext.success() argument error - Changed timer.success() and timer.error() calls to pass data as single dictionary argument instead of message + data keyword - This resolves the 'multiple values for argument data' error in mock search functionality
Fix HfApiModel import error by reverting to LiteLLMModel - HfApiModel is not available in Space smolagents version - Using LiteLLMModel with huggingface/Qwen/Qwen2.5-Coder-32B-Instruct which should work with HF_TOKEN in Space environment
Fix helium import error by commenting out browser automation imports - Since we're using mock data, browser dependencies are no longer needed - This resolves the ModuleNotFoundError for helium in the Space environment
Replace browser automation with comprehensive mock data system - Modified BrowserAgent.forward() to return realistic mock listings instead of scraping - Added intelligent filtering by bedrooms, borough, budget, and voucher acceptance - Commented out browser dependencies and functions since they're no longer needed - Maintains all agent orchestration functionality while providing realistic demo responses
Fix runtime error by switching from TransformersModel to HfApiModel - HfApiModel uses HuggingFace inference API which should work in Space environment - Removed unnecessary transformers and torch dependencies - Updated model configuration for Qwen/Qwen2.5-Coder-32B-Instruct via HfApiModel
Fix TransformersModel compatibility by switching from DialoGPT to GPT-2 - GPT-2 is a standard causal language model that should work better with smolagents TransformersModel - This resolves the AutoModelForImageTextToText error and accelerate requirement
Enhance demo_chatbot_responses.py with comprehensive simulation - Added detailed mock data for listings, violations, subway, and school information - Expanded response logic with intelligent filtering by bedrooms, borough, budget, and voucher acceptance - Added comprehensive non-pertinent question handling with contextual housing connections - Included voucher program details, email drafting, and neighborhood guidance - Demonstrates full agent orchestration including intent detection, tool integration, and graceful redirection
Add demo_chatbot_responses.py - Interactive simulation showing how VoucherBot handles pertinent vs non-pertinent questions with mock data - Demonstrates housing search, violation checking, email drafting, and graceful redirection for off-topic queries
Update agent model to TransformersModel for local testing and add comprehensive test suite - Switched from LiteLLMModel to TransformersModel for conversational agent - Added transformers, torch, and accelerate dependencies - Created test_gradio_app.py for comprehensive Gradio testing - Agent orchestration fully functional with memory management, tool integration, and error handling
Fix dark mode input font color and improve UI accessibility - Fixed dark mode input textbox font color for better visibility - Increased chatbot response font size - Enhanced Spanish language support for search intent detection - Improved email request detection and transit/school context handling - Integrated violation checker into search flow - Added comprehensive test suites for regex and LLM fallback validation