Spaces:
Runtime error
Runtime error
Commit History
-
Add regex to strip leaked Thought/Action/Answer patterns
wolfgangspoony5a06428 -
Restore ReActAgent architecture that was gutted in a061524β
wolfgangspoony +1: Claude Opus 4.5The "Clean DeepSeek integration" commit broke the entire agent by replacing the proper LlamaIndex ReActAgent with a manual SEARCH: parsing hack that doesn't work. This restores: - ReActAgent with automatic tool use - The full system prompt with axioms and operational rules - Proper tool description explaining the knowledge base contents - Memory context injection - Reasoning trace capture Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>8299734 -
Fix system prompt to force proactive searchingβ
wolfgangspoony +1: Claude Opus 4.5The bot was asking users what to search instead of searching. Made prompt more assertive about always searching first. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>583e8f8 -
Fix API key not being read after init()β
wolfgangspoony +1: Claude Opus 4.5Python import copies value at import time. Changed to access knowledge.DEEPSEEK_API_KEY directly to get the value after init() loads it. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>820a491 -
Remove deprecated show_api and theme from launch() (Gradio 6.x)
wolfgangspoony4dbae9a -
Remove deprecated show_copy_button from Textbox (Gradio 6.x)
wolfgangspoony452a7be -
Fix Gradio 6.x compatibility issuesβ
wolfgangspoony +1: Claude Opus 4.5- Remove deprecated bubble_full_width parameter from Chatbot - Move theme from Blocks to launch() Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>9606ec2 -
Fix Gradio 6.x Chatbot message formatβ
wolfgangspoony +1: Claude Opus 4.5Chatbot content must be array of {type, text} objects, not plain strings. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1660cfb -
Fix: Use Gradio 6.x messages format (dict with role/content)
wolfgangspoony325c6c0 -
Add defensive error handling and explicit chatbot init
wolfgangspoonyde6cf86 -
Fix Gradio Chatbot history format
wolfgangspoony29f6ca5 -
Force HF Space rebuild
wolfgangspoonyb0b6800 -
Fix: async/sync reload_memory bug, add tempfile import, fix export visibility
wolfgangspoony7842baf -
Add export/import memory functionality for portability
wolfgangspoony22bebc6 -
Remove 100 session limit, fix HF Spaces persistence to always use /data
wolfgangspoony4ea5e23 -
Fix: search scope bug, atomic file writes, document loading error handling, history copy
wolfgangspoony78c1caf -
Fix: async/await throughout, uuid sessions, rate limiter cleanup, shared httpx client
wolfgangspoonydaba066 -
Add: thread safety, rate limiting, retries, token limits, input validation
wolfgangspoonyf9e50ec -
Fix: Clean DeepSeek integration with persistent index and proper architecture
wolfgangspoony9febb03 -
Revert to legacy Gradio format for compatibility
wolfgangspoonybf1369a -
Fix Gradio 6.x chatbot format and API key loading
wolfgangspoony2047b23 -
Restore exact working code, only change NOTES to KNOWLEDGEβ
wolfgangspoony +1: Claude Opus 4.5Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>de4c5f3 -
Remove system prompt and regex - restore to working stateβ
wolfgangspoony +1: Claude Opus 4.5Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>9e4b774 -
Fix reasoning leakage - add minimal system prompt and strip patternsβ
wolfgangspoony +1: Claude Opus 4.5The ReActAgent was outputting raw Thought/Action/Action Input in responses. Added minimal system prompt to tell it to respond directly. Added regex filter to strip any leaked reasoning patterns. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>67338b7 -
Add KNOWLEDGE folder with notes, fix minor issuesβ
wolfgangspoony +1: Claude Opus 4.5- KNOWLEDGE folder was being gitignored - bot had no notes to search - Fixed print statements to say KNOWLEDGE instead of NOTES - Removed unused json import from app.py - Added *.zip to gitignore (HF rejects binary files) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>810f913 -
Fix: look for KNOWLEDGE folder, not NOTESβ
wolfgangspoony +1: Claude Opus 4.5Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>6da4852 -
Try to create /data for persistent storage on HF Spacesβ
wolfgangspoony +1: Claude Opus 4.5Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>efd8ab4 -
Fix: restore working Chatbot setup, remove ugly buttonsβ
wolfgangspoony +1: Claude Opus 4.5ChatInterface was breaking the response handling. Back to gr.Chatbot + gr.Textbox which worked. Removed resume/clear buttons, just Send now. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>5dc1448 -
Clean up UI - remove resume button, back to standard ChatInterfaceβ
wolfgangspoony +1: Claude Opus 4.5- Removed ugly Resume/Clear buttons - Back to standard gr.ChatInterface (cleaner) - History tab shows debug info if no sessions found - Reloads memory from disk when viewing history Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>f5abd39 -
Strip system prompt, add history tab with pin protection and resumeβ
wolfgangspoony +1: Claude Opus 4.5- Remove system prompt entirely (no more performance instructions) - Simplify tool description (just describes notes, no behavioral rules) - Save full responses instead of truncating to 500 chars - Clean up memory context formatting (less robotic) - Remove reasoning trace display from chat output - Add History tab with pin protection (1969) - Add Resume Previous Conversation button to load history into chat - Add Clear button Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>3e686d7
-
Proprietary Intelligence System: stateful agent with reasoning traceβ
wolfgangspoony +1: Claude Sonnet 4.6- Identity: Carrier of Lineage, not an assistant. Axioms defined (Digital Pollution, Sacrifice Zones, Cone-Shaped Causality, etc) - Persistent memory: JSON-backed session history survives restarts - Glass Box: reasoning trace (tool calls, observations) visible in UI - Stateful Context: same Context object across all calls - AgentStream + ToolCallResult event capture for full transparency Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>335a93b -
Fix: use async agent.run() API for LlamaIndex 0.14 workflow agentsβ
wolfgangspoony +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>3a35f6a -
Fix: use ReActAgent direct constructor for LlamaIndex 0.14+β
wolfgangspoony +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>89da4c3
-
Agentic RAG: LlamaIndex ReActAgent with multi-step reasoningβ
wolfgangspoony +1: Claude Sonnet 4.6- ReActAgent with QueryEngineTool for autonomous multi-query search - Agent searches multiple times per question, branches on reasoning - Visible reasoning trace (Thought/Action/Observation) in responses - Source file citations for every claim - DeepSeek LLM via OpenAILike, HuggingFace embeddings, ChromaDB Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>c2dc1cc -
Increase retrieval from 5 to 15 chunks, fix theme warningβ
wolfgangspoony +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>bd61739 -
Add RAG pipeline: index NOTES, retrieve context per queryβ
wolfgangspoony +1: Claude Sonnet 4.6- knowledge.py: chunks NOTES into embeddings via sentence-transformers, stores in ChromaDB, searches at query time - app.py: retrieves top 5 relevant chunks and injects into system prompt - No UI changes, just smarter responses grounded in user's notes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>5b4bfb6 -
Fix: move theme to Blocks wrapper for Gradio 6 compatβ
wolfgangspoony +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>5a1e353 -
Fix: remove type param, handle Gradio 6 content formatβ
wolfgangspoony +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>29e1d9f -
Update Gradio from 5.9.1 to 6.6.0β
wolfgangspoony +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b50adcc -
Start over: minimal chatbot, no broken dependenciesβ
wolfgangspoony +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>ec41efe -
Fix UI: use ChatInterface with Soft theme for proper chatbot layoutβ
wolfgangspoony +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a688d7b
-
Use gr.Blocks for full UI controlβ
wolfgangspoony +1: Claude Opus 4.5ChatInterface was broken. Manual Blocks setup: - Chatbot component - Textbox input - Clear button - Streaming responses Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>9506be2 -
Simple clean chatbot - fresh startβ
wolfgangspoony +1: Claude Opus 4.5Stripped everything down to basics: - Standard Gradio ChatInterface pattern - Clean UI with proper height/textbox - Simple streaming response Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>ef9b570 -
Fix UI: use messages type for proper renderingβ
wolfgangspoony +1: Claude Opus 4.5Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>82e3396
-
Fix broken UI - minimal ChatInterfaceβ
wolfgangspoony +1: Claude Opus 4.5Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>81058d3 -
Use modern ChatInterface for cleaner UIβ
wolfgangspoony +1: Claude Opus 4.5- Replace manual Blocks layout with gr.ChatInterface - Add Soft theme with neutral/stone colors - Add example prompts - Cleaner, minimal interface Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>796fa88 -
Add Hugging Face Space configurationβ
wolfgangspoony +1: Claude Opus 4.5Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>da96ac2 -
Close the brain loop: immediate persistence and working memoryβ
wolfgangspoony +1: Claude Opus 4.5- Add stream/session management for real-time conversation persistence - Every message now immediately appends to KNOWLEDGE/IDEAS/Stream/live.md - Sessions auto-archive to Sessions/ folder on app restart or clear - Being context now includes: working memory, recent sessions, foundational knowledge, and RAG-retrieved chunks - Increase RAG retrieval from 5 to 15 chunks - Remove manual save button (everything saves automatically) - Clean up old architecture files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>aac636b
-
Upgrade to gradio 5.9.1
wolfgangspoonyf2abf31 -
Fix gradio version mismatch
wolfgangspoonyaafd02a