Spaces:
Sleeping
Sleeping
Commit History
-
Harden uploads, report real LLM availability, and support free OpenAI-compatible providers
Aissugur Kurganbekov +1: Claude Opus 4.8- Bound the upload read in 1 MB blocks so an oversized body can't be fully materialised in memory before the 10 MB limit returns 413. - Replace the dead ANSWER_MODE field in /health with default_mode + llm_available + llm_provider, so clients can tell whether Thinking mode is actually usable instead of silently falling back to Fast. - Add OPENAI_BASE_URL so Thinking mode can target any OpenAI-compatible provider (free tiers such as LLM7 / Cohere / Mistral) with no code change; document the options in .env.example. - Add tests for oversized-upload rejection and the health contract; make the Thinking fall-back test hermetic and add LLM-answer and LLM-abstain cases (25 passing). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>7269eb9
-
Recruiter-demo polish: curated demo questions, reset-db, PDF test, CORS
Aissugur Kurganbekov +1: Claude Opus 4.8 (1M context)- AskPanel: 3 curated demo questions (strong cite / multi-evidence / abstain), auto-selects the sample invoice for a deterministic 2-click demo - Add `python -m app.reset_db` + `make reset-db` for a clean slate - Add dependency-free PDF upload test (real pypdf parse path) -> 20 tests - CORS: allow any localhost/127.0.0.1 port (and Docker) via regex - README: reset-db command + no-make fallback Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>49eecdc -
FinanceFlow AI: source-grounded RAG Q&A over finance documents
Aissugur Kurganbekov +1: Claude Opus 4.8 (1M context)Full-stack MVP: FastAPI + SQLite backend, React/Vite frontend. - Upload PDF/TXT -> chunk -> TF-IDF retrieval -> focused extractive answer - Two abstention gates + citations for anti-hallucination - Golden-dataset evaluation (UI + CLI) with coverage/abstention/evidence metrics - One-click demo mode, sample-question chips, clean B2B dashboard - Logging, global exception handler, validated/typed API with Swagger docs - 19 pytest tests + GitHub Actions CI - Dockerfiles, docker-compose, Makefile Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>fc5156b