Spaces:
Running
Running
Commit History
-
Fix: Removed duplicate chat method causing HTML leakage Running
Asish Karthikeya Gogineni3f9d83d -
Refactor: Code Structure Update & UI Redesign
Asish Karthikeya Goginenia3bdcf1 -
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 prompts for concise, direct answers
Asish Karthikeya Gogineni079d436 -
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: 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: 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 -
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 -
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 -
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: 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 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: 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 -
feat: Add local embeddings to bypass API rate limits
Asish Karthikeya Gogineni6d5c110 -
fix: Simplify __init__.py to fix import error
Asish Karthikeya Goginenicddcaaf -
docs: Organize project with clear README and clean exports
Asish Karthikeya Gogineni23a9623 -
chore: Remove unused files (rate_limit_config, setup.py, ingestor, cli)
Asish Karthikeya Gogineni7dec411 -
feat: Add MCP + CrewAI integration with multi-mode interface
Asish Karthikeya Gogineni## New Features - Merkle tree for incremental indexing (10-100x faster re-indexing) - Enhanced semantic chunking with AST-based metadata - Path obfuscation for privacy - MCP server with code_search, code_refactor, suggest_refactorings tools - CrewAI multi-agent system (Analyst, Refactor, Reviewer, Documentation agents) - Multi-mode Streamlit UI (Chat, Search, Refactor, Generate modes) ## Improvements - Fixed embedding model to use gemini-embedding-001 - Better rate limiting with smaller batches and more retries - Centralized configuration system - Technical documentation (docs/RAG_PIPELINE.md) ## Files Added - code_chatbot/merkle_tree.py - Merkle tree change detection - code_chatbot/config.py - Centralized configuration - code_chatbot/mcp_server.py - MCP refactoring tools - code_chatbot/mcp_client.py - MCP client interface - code_chatbot/agents/ - CrewAI agent definitions - code_chatbot/crews/ - CrewAI workflow definitions - components/multi_mode.py - Multi-mode UI components - docs/…8755993
-
Refactor: Upgraded to Agentic Chatbot with AST & Call Graph support
Asish Karthikeya Gogineni5b89d45