Spaces:
Sleeping
Sleeping
Commit History
-
feat: Add configurable recursion limit for LangGraph agent
- Add LANGRAPH_RECURSION_LIMIT environment variable (default: 150) - Update AgentConfig and ConversationConfig with recursion_limit parameter - Modify run_conversation_turn() to accept and use recursion_limit - Update Gradio app to use higher recursion limit for complex operations - Add test script to verify recursion limit configuration - Fix recursion limit error that was preventing complex multi-step operations This resolves the 'Recursion limit of 25 reached' error by allowing configurable limits up to 150+ steps for complex sales assistant workflows.67e3a24
-
fix: Correct manufacturer names and descriptions for consistency and clarity
4f30f3b -
feat: Enhance system prompt with additional guidelines and manufacturer descriptions
0827d5a
-
Update Gradio app and remove old README
672be53 -
feat: Add authentication and logout functionality to Gradio app
- Add simple username/password authentication using environment variables - Implement working logout button with server-side session management - Support multiple users (admin, sales, demo) - Add comprehensive logout UI with manual refresh option - Update Gradio to version 5.44.1 - Include authentication documentation and setup scripts - Add secure credential management via environment variables Features: - 🔐 Login authentication required before accessing app - 🚪 Logout button in top-right corner with proper session clearing - 👥 Multiple user support with role-based access - 🛡️ Secure server-side authentication that cannot be bypassed - 📱 Clear UX with refresh instructions and manual refresh button - 🔧 Debug logging for authentication flow monitoringcab995b -
refactor: Update Dockerfile and README, remove unused files, and enhance agent configuration
fb4a4b8
-
chore: commit all local changes
1b8e582 -
Update quote template and creation tools, improve UI dashboard
cb6cec5
-
Update README.md with proper Hugging Face Space configuration
b5d15eb -
Update README: Remove metadata fields and update model to GPT-5-mini
01b3fb3 -
feat: Fix Gradio app integration and enhance console logging
✨ Major Improvements: - Fixed message passing issue in Gradio chat interface - Added real-time console logging with auto-refresh - Enhanced log display with better scrolling and formatting - Fixed database column name from distributor_price to distributor_pricing - Improved system prompt for more proactive database searches - Added comprehensive log capturing from external libraries 🐛 Bug Fixes: - Resolved empty message issue in Gradio conversation flow - Fixed tool invocation in web interface - Corrected database schema references in system prompt 🎨 UI Enhancements: - Added auto-refresh checkbox for real-time log updates - Improved console styling with custom scrollbars - Enhanced log display with 1000 entry capacity - Better visual formatting and readability 🔧 Technical: - Added GradioLogHandler for capturing external library logs - Improved conversation state management - Enhanced error handling and debugging capabilities96c920d -
Fix create_quote.py path handling and add quote generation example
- Fixed hardcoded path in create_quote.py to use dynamic path resolution - Made the quote file creation more portable across different environments - Added comprehensive quote generation example to Gradio UI - Improved user experience with better example promptsec870c5 -
Add quote file browser to Gradio interface
Features added: - New 'Generated Quotes' tab in the UI - Real-time display of quote files with metadata (name, date, size) - Quote content viewer to read generated quotes directly in the interface - Automatic refresh of quote list when new quotes are generated - File selection dropdown with content preview - Enhanced chat function to notify users when quotes are generated - Download instructions for users This allows users to easily view and access generated quote files without leaving the Gradio interface.abf1abb -
Improve Gradio UI layout: make chat window shorter and enable full-screen width
- Reduced chat window height from 500px to 400px for more compact layout - Removed max-width limitation to enable full-screen usage - Updated CSS to use 100% width and improved padding - Enhanced header styling with more compact feature list - Restored README.md for Hugging Face deploymenta721ff8 -
refactor: update SSH key variable name to SSH_PEM_CONTENT for consistency
f4f2765 -
refactor: use paramiko in-memory SSH key for Hugging Face and local secrets (no temp files)
d913a3d -
Fix Docker permission issues for Hugging Face Spaces
- Create non-root user 'app' to avoid permission issues - Set UV_CACHE_DIR to writable location in app directory - Change ownership of app directory to non-root user - Add .uv-cache to .dockerignore for cleaner builds112d492 -
Prepare README for Hugging Face Spaces deployment
b18de1a -
Add Hugging Face Spaces Docker configuration
- Add Dockerfile for containerized deployment - Add .dockerignore to optimize build - Add README_HF.md with Spaces metadata - Add .env.example for environment variable reference - Configure for Docker-based Hugging Face Spaces deployment50d8e55 -
Enhance Sales Assistant with Pydantic Validation and Gradio Dashboard
- Updated README.md to include instructions for running the Gradio dashboard. - Refactored tools_node.py to implement Pydantic validation for tool configurations and schemas. - Improved agent_tools_utils.py to streamline data retrieval and error handling. - Enhanced create_quote.py to utilize Pydantic models for input/output validation and error handling. - Updated execute_sql_query.py to return structured output using Pydantic schemas. - Refined get_exchange_rates.py to implement Pydantic validation for currency conversion. - Modified db_utils.py to raise exceptions for better error handling. - Improved prompts module with a new system prompt for enhanced user interaction. - Updated Gradio app to improve UI and user experience with example queries. - Introduced tool_schemas.py to define Pydantic schemas for various tool inputs and outputs.e252f82
-
Enhance agent configuration and tool management with validation and improved error handling
c7abf8d -
Implement code changes to enhance functionality and improve performance
24d4056 -
Add Gradio and Streamlit chat interfaces for Sales Assistant
- Created `run_ui.sh` script to launch the UI applications. - Added README documentation for the Sales Assistant Chat UI, detailing available interfaces, quick start instructions, example queries, features, technical details, prerequisites, troubleshooting, and development tips. - Implemented Gradio chat interface in `gradio_app.py` with features for product search, quote generation, and data analysis. - Developed Streamlit chat interface in `streamlit_app.py` with similar functionalities and enhanced user interaction features.4fd28e1
-
Refactor code structure and remove redundant sections for improved readability and maintainability
6bd3e57