Spaces:
Runtime error
Runtime error
Commit History
-
chat: constrain thread to max-w-3xl centred column
webmuppet +1: Claude Sonnet 4.6Wraps the message list in a max-w-3xl mx-auto container matching the bottom input bar width — same breakpoint Claude.ai uses (~768px). Assistant bubbles now go full width within that column rather than being additionally constrained to 80%. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2befd58
-
Refactor: replace Streamlit with React+Vite SPA + FastAPI server
webmuppet +1: Claude Sonnet 4.6Replaces app.py (Streamlit) with a React+Vite single-page application served as compiled static assets by a new FastAPI server (server.py). The Python backend (src/pipeline.py, retriever, generator, router) is untouched. All user-visible features are preserved: chat with streaming LLM responses, conversation history, saved responses, profession and language selectors, password gate, citation chips, Markdown export, and starter pill questions. Key changes: - server.py: FastAPI entry point — JWT auth, POST /api/query/stream SSE, static file serving of frontend/dist/ - frontend/: React+Vite+Tailwind SPA with full TypeScript, 66 passing tests including property-based tests (fast-check) for storage, export, citations, streaming, and fork isolation - Dockerfile: multi-stage build adding Node frontend compilation step; CMD switched from streamlit to uvicorn - pyproject.toml: streamlit/streamlit-js-eval removed; fastapi/uvicorn/ pyjwt added - CORS only enabled when ALLOWED_ORIGIN en…b5c0df4