Spaces:
Sleeping
Sleeping
Commit History
-
feat: chat interface upgrades
5c00819
-
feat: Add Gemini/Ollama toggle functionality with API error fixes
Priyanshi Saxena✨ New Features: - Add interactive toggle switch in UI to choose between Ollama (Local) and Gemini (Cloud) - Dynamic LLM selection with preference persistence in localStorage - Support both Ollama and Gemini in research agent with automatic fallbacks - Real-time status updates showing which AI model is being used �� Backend Changes: - Update research agent to support both LLMs with use_gemini parameter - Add _research_with_gemini_tools method for Gemini-powered research - Update query request model to include use_gemini field - Automatic LLM initialization and availability detection 🎨 Frontend Changes: - Beautiful toggle switch with animated slider and labels - Persistent user preference storage - Dynamic status messages based on selected LLM - Responsive design for header controls 🛠️ Bug Fixes: - Fix CoinGecko API 401 errors by adding proper fallback to mock data - Improved error handling for chart_data_tool API failures - Better session cleanup to prevent connection warnings 🔒 …6bf47a1 -
project complete
Priyanshi Saxenac02fe07