Spaces:
Running
Running
Commit History
-
Fix: Removed duplicate chat method causing HTML leakage Running
Asish Karthikeya Gogineni3f9d83d -
UI: Clarified Refactor capability in Tabs and Panels
Asish Karthikeya Goginenid897d25 -
Refactor: Code Structure Update & UI Redesign
Asish Karthikeya Goginenia3bdcf1 -
Fix: Enable horizontal scrolling for chat and code blocks
Asish Karthikeya Gogineni5059b8f -
Update: Fix reset button, refine prompts, and enhance frontend UI
Asish Karthikeya Gogineni911f32b
-
Refactor: Enhanced UI (Tabs/Explorer) and Modular Components
Asish Karthikeya Gogineni2156541
-
Refactor Code Studio UI to use horizontal tabs
Asish Karthikeya Gogineni134ff3d -
Refactor: Switch to horizontal tabs in Code Studio
Asish Karthikeya Goginenic00752d -
Refactor prompts for concise, direct answers
Asish Karthikeya Gogineni079d436 -
Improve UX: Move upload UI to main area
Asish Karthikeya Gogineni0cc3949 -
Refactor UI to Code Studio IDE layout
Asish Karthikeya Gogineni88779f3 -
fix: Allow absolute paths for file sources
Asish Karthikeya Gogineni- Fixed regression where strip('/') removed leading slashes from /tmp/uploaded.zip - Changed to rstrip('/') to only remove trailing slashes from URLs - Ensures ZIP uploads work correctlyd1be9d3 -
fix: Robust 429 handling in Linear RAG
Asish Karthikeya Gogineni- Added automatic rate limit handling to standard chat - Swaps to next Gemini model (e.g. 2.5-flash -> 1.5-flash) on RESOURCE_EXHAUSTED - Prevents user-facing errors when free tier quota is hit5d60881 -
fix: Resolve tuple application error in Generate page
Asish Karthikeya Gogineni- Updated pages/4_✨_Generate.py to unpack (response, sources) tuple - Prevents 'Invalid binary data format' error when using code generation - Ensures consistent error handling across all pages27fbe66 -
fix: Smart extraction of GitHub URLs from mixed input
Asish Karthikeya Gogineni- Added regex matching to find https://github.com/... inside error messages - Handles cases where users paste 'Error: Failed to download... <URL>' - Retains previous sanitization (strip backslashes/.git)da942b7 -
fix: Revert to blocking chat for stability
Asish Karthikeya Gogineni- Disabled streaming UI to resolve specific environment issues - Backend still uses enhanced RAG (Top-30 context + File Tree) - Ensuring reliable answer delivery over latencyd79ce72 -
trigger: Force rebuild of Hugging Face Space
Asish Karthikeya Goginenib4f4533
-
fix: Robust GitHub URL sanitization
Asish Karthikeya Gogineni- Automatically strips trailing backslashes (\) and slashes (/) from inputs - Handles common copy-paste errors (e.g. https://.../repo\) - Removes .git suffix if present48661b1 -
fix: Use invoke() instead of deprecated get_relevant_documents()
Asish Karthikeya Gogineni- Fixed AttributeError: 'RerankingRetriever' object has no attribute 'get_relevant_documents' - Replaced deprecated LangChain method calls with .invoke() - Kept context enhancements (top-30 files, file tree, full content)e5ab135 -
fix: Resolve IndentationError in rag.py and restore fallback logic
Asish Karthikeya Gogineni- Fixed syntax error at line 366 (missing method body) - Restored _linear_chat implementation for fallback scenarios - Preserved _generate_file_tree_str logic9debe89 -
feat: Inject File Tree context for holistic code understanding
Asish Karthikeya Gogineni- Added _generate_file_tree_str to ChatEngine - Injected full project file list into system prompt - RAG now provides both top-30 relevant code blocks AND the complete file structure - Follow-up to improve 'Antigravity-like' awareness1e94a5a -
fix: Optimize RAG retrieval and enable streaming
Asish Karthikeya Gogineni- Increased retrieval context: Top-30 docs (was 5) - Removed context truncation: Providing full file content to LLM - Boosted README.md priority in retrieval - Enabled streaming chat responses for lower latency986715f -
feat: Restructure into multi-page app with shared styling
Asish Karthikeya Gogineni- Created pages/ directory for separate views: - 1_📁_Explorer.py: Full-width file tree and code viewer - 2_💬_Chat.py: Dedicated chat page with history and sources - 3_🔍_Search.py: Regex search across codebase - 4_✨_Generate.py: Code generation tools - Simplified app.py to valid navigation hub - Created components/style.py for shared CSS (dark mode, layout) - Fixed scrolling issues with independent panel scrolling4af2457 -
fix: Add IDE-style panel scrolling
Asish Karthikeya Gogineni- Each column now scrolls independently (like VS Code) - Fixed height panels with overflow scroll - Custom thin scrollbars matching dark theme - Code blocks limited to 60vh with scrolla4cf33b -
fix: Add reranking to prioritize source code over text files
Asish Karthikeya Gogineni- New _rerank_by_file_type method in GraphEnhancedRetriever - Boosts main entry points (app.py, main.py, index.js) to top - Source code files (.py, .js, .ts) ranked higher than .txt files - Fixes issue where prompt .txt files appeared before actual code5ceb659 -
fix: Require explicit code citations in RAG responses
Asish Karthikeya Gogineni- Updated prompt to require file paths + code snippets for every claim - Added example format showing expected structure - Ensures answers always include actual code from context494f2e4 -
fix: Improve UI layout - VS Code style file tree, better buttons
Asish Karthikeya Gogineni- File tree now uses arrows (▶/▼) for expand/collapse - Tree indentation with lines (│ ├─) - Suggestion buttons in 2x2 grid with shorter text - Much cleaner, less clumsy layout31d220e -
feat: Implement 3-panel file explorer UI
Asish Karthikeya Gogineni- New components: file_explorer.py (file tree), code_viewer.py (syntax highlighting) - 3-column layout: File Tree (15%) | Code Viewer (45%) | Chat/Tools (40%) - Click files in tree to view in center panel - Folder expand/collapse support - Updated indexing to return file list for tree display77bf0e5 -
feat: Update chat UI to showcase RAG capabilities
Asish Karthikeya Gogineni- New suggestions: explain code, generate functions, suggest improvements - Updated caption with 4 key capabilities: explain, generate, develop, retrieve - Reflects actual RAG system abilities959c192 -
fix: Add strict anti-hallucination rules to prompts
Asish Karthikeya Gogineni- LLM must now say 'I couldn't find code related to [topic]' when context lacks relevant code - Prohibits making up generic explanations - Prohibits inventing file paths or function names - Ensures honest 'I don't know' responses instead of hallucination28ec44b -
fix: Wire up 'Try asking' suggestion buttons to chat
Asish Karthikeya Gogineni- Added pending_prompt handling in app.py - When suggestion button is clicked, it now properly triggers the chat - Clears pending_prompt after use7579835 -
fix: Switch to FAISS as default and use /tmp for persist directory
Asish Karthikeya Gogineni- FAISS is now the default vector DB (fixes ChromaDB tenants table error) - Indexer uses /tmp/vector_db by default for Hugging Face compatibility - Creates persist directory proactivelye82a017 -
fix: Add faiss-cpu and langchain-chroma to requirements
Asish Karthikeya Gogineni- Adds faiss-cpu for vector database support on Hugging Face - Adds langchain-chroma for updated Chroma integration - Adds requests package for HTTP operations0954841 -
fix: Configure Streamlit for Hugging Face file uploads
Asish Karthikeya Gogineni- Disable CORS and XSRF protection (causes 403 on HF Spaces) - Set max upload size to 500MB - Configure headless mode for cloud deployment - Set address to 0.0.0.0 for proper bindingc440323 -
fix: Add detailed logging and error handling for source ingestion
Asish Karthikeya Gogineni- Better error messages for each stage of ingestion - Creates extraction directory proactively - Logs handler type, paths, and document counts - Helps debug issues on Hugging Face733ecfe -
feat: Add HTTP ZIP download fallback for GitHub repos
Asish Karthikeya Gogineni- GitHubRepoManager now tries git clone first, falls back to HTTP ZIP download - Downloads repo as ZIP from GitHub API if GitPython fails - Fixes GitHub repo ingestion on Hugging Face Spaces where git may not work - Handles both 'main' and 'master' branch naming conventionsc06be9c -
fix: Update Dockerfile for Hugging Face /tmp directories and env vars
Asish Karthikeya Gogineni82387e1 -
fix: Use /tmp directory for Hugging Face compatibility
Asish Karthikeya Gogineni- app.py: ZIP uploads now write to tempfile.gettempdir() instead of data/ - indexing_progress.py: Extraction uses /tmp/code_chatbot_extracted - Fixes 403 error when uploading ZIP files on Hugging Face Spacesb4da4fc -
feat: Add Groq-optimized prompts, vector DB fallback, improved ignore patterns
Asish Karthikeya Gogineni- Added Groq-specific prompts with explicit step-by-step instructions - Implemented vector DB fallback logic (Chroma -> FAISS) - Added package-lock.json and other lock files to ignore patterns - Fixed universal_ingestor.py to skip lock/config files during indexing - Enhanced code generation prompt for better output quality - Wired get_prompt_for_provider() for automatic prompt selection511ccc3 -
feat: Add runtime Gemini model switching on rate limits - automatically tries next model
Asish Karthikeya Gogineni5f1e9e9 -
feat: Add Gemini 3 preview models to fallback list
Asish Karthikeya Goginenif10ec60 -
feat: Add Gemini model fallback logic - tries multiple models in sequence
Asish Karthikeya Goginenia1acb59
-
fix: Add ChromaDB auto-recovery from corruption
Asish Karthikeya Gogineni3508757 -
fix: Use gemini-2.5-flash as default (confirmed working)
Asish Karthikeya Goginenife03c86 -
fix: Add models/ prefix to Gemini model names
Asish Karthikeya Gogineni8e40df0 -
fix: Update Gemini model list to available models
Asish Karthikeya Gogineni937fe82 -
fix: Add langchain-huggingface to requirements.txt
Asish Karthikeya Gogineni74b5dd3 -
Remove binary assets for HF Spaces
Asish Karthikeya Gogineni3a5706b -
Add Dockerfile for HF Spaces
Asish Karthikeya Goginenid4a4997 -
Deploy to Hugging Face Spaces
Asish Karthikeya Goginenia360b5d