Spaces:
Runtime error
Runtime error
Commit History
-
Fix Chatbot initialization and message handling
Julian Vanecek +1: Claude- Initialize Chatbot with empty list value=[] - Remove orphaned comment about adding user message to history - Ensures proper list format from the start 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>48d3dbc -
Fix Gradio Chatbot message format error
Julian Vanecek +1: Claude- Changed from dictionary format {"role", "content"} to list format [user, assistant] - Updated all history.append calls to use the correct format - Fixed function signatures to use List[List[str]] instead of List[Dict[str, str]] - Fixed conversation loading to properly convert database format to Gradio format 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>7d60461 -
Fix Pydantic version compatibility issue
Julian Vanecek +1: Claude- Add pydantic==2.10.6 to requirements.txt - Fixes JSON schema parsing error in Gradio - Resolves TypeError: argument of type 'bool' is not iterable 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>a693633 -
Remove empty shell agents to fix multi-agent system
Julian Vanecek +1: Claude- Removed 4 placeholder agent files that were causing initialization errors - Updated gradio_app.py to only reference the 2 working agents - Updated document_reader.py to only mention available agent transfers - System now works with document_reader and profile_settings agents only - Fixes Gradio schema parsing error by removing undefined agent references 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>68b6cce -
Fix localhost accessibility error for HuggingFace
Julian Vanecek +1: Claude- Set share=True to enable shareable link on HuggingFace Spaces - Fixes ValueError when localhost is not accessible 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>6a5b8df -
Restore full multi-agent system functionality
Julian Vanecek +1: Claude- Replace simplified OpenAI chat with full PeerToPeerApp implementation - Enable tool usage display and agent prefixes as in v3 - Update requirements.txt to include all necessary dependencies - Fixes integration with SimpleVectorDB for document search 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>73e09f7 -
Fix Gradio ChatInterface return value bug
Julian Vanecek +1: Claude- Changed chat_function to return only bot_message instead of history - Fixes ValueError on Hugging Face where history array was interpreted as file path - gr.ChatInterface expects string response, not conversation history 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>c78e9d7 -
Revert to working ChatInterface
Julian Vanecek- Remove Blocks interface that triggers JSON schema error - Remove vector search temporarily - Keep only working OpenAI chat functionality - Reduce dependencies to minimumcd61b51 -
Add document search functionality
Julian Vanecek- Create minimal vector search implementation - Add embedding-based document retrieval - Integrate search results into chat context - Use simple Blocks interface instead of ChatInterface9967c6c -
Remove examples to fix caching error
Julian Vanecek- Gradio was trying to cache chat history as file paths - Temporarily remove examples until we find proper formata35d3a6 -
Add OpenAI integration
Julian Vanecek- Add openai dependency - Implement actual chat with GPT-3.5-turbo - Handle conversation history properly - Add example queries11445e4 -
Add chat interface functionality
Julian Vanecek- Use gr.ChatInterface for simple chat UI - Check for OPENAI_API_KEY environment variable - Still minimal dependencies (just gradio)ea55334 -
Use simplest possible Gradio app
Julian Vanecek- Basic Interface instead of Blocks - No try/except or complex logic - Just demo.launch() with no parameters - This is the exact pattern from Gradio docs for HuggingFacee302dd9 -
Clarify launch parameters - already correct
Julian VanecekThe minimal app already uses demo.launch() without parameters The error in logs was from previous complex version HuggingFace Spaces handles the networking automatically6d2fe1a -
Create absolute minimal Gradio app
Julian Vanecek- Remove ALL dependencies except gradio - No imports from local modules - Simple echo functionality - Direct app.py without any complex imports0b9fd06 -
Adapt v3 to use working v2 patterns
Julian Vanecek- Copy working structure from v2 example - Use tuple-based chat history instead of dict format - Simplify Gradio components (remove State, Accordion, etc) - Use gradio>=4.0.0 instead of pinned version - Remove complex event chaining with .then() - Launch with server_name and server_port parameters6749a1c -
Create minimal Gradio app for testing
Julian Vanecek- Remove all complex dependencies - Create simple echo chatbot - Use only gradio==4.19.2 - Test basic HuggingFace deploymentcb292fb -
Fix Gradio compatibility issues
Julian Vanecek- Remove type='messages' from Chatbot component - Use Gradio 4.19.2 which is stable with Python 3.10 - Add simple test app for debugging - Simplify requirements7b363cb -
Use latest versions of all dependencies
Julian Vanecek- Remove version pinning to use latest stable versions - Avoids compatibility issues between packages - Gets latest features and bug fixes63ca36c -
Remove conflicting gradio-client version
Julian Vanecek- Let gradio install its required gradio-client version automatically - Fixes dependency conflict in HuggingFace build79e4d81 -
Fix Gradio compatibility and launch settings
Julian Vanecek- Pin specific versions in requirements.txt to avoid compatibility issues - Use default launch() settings for HuggingFace Spaces - Add gradio-client==1.4.3 to fix TypeError in json_schema_to_python_type67ac292 -
Fix app.py import and update Gradio version
Julian Vanecek- Change from importing 'demo' to 'create_gradio_interface' - Update Gradio SDK version from 4.0.0 to 4.44.1 - Fix ImportError: cannot import name 'demo'a0b5f78 -
Merge with HuggingFace repository
Julian Vanecekdd87de0 -
Initial commit: AI Assistant Multi-Agent System for HuggingFace Spaces
Julian Vanecekbb80caa -
initial commit
Verified signaturef0a9608