mirror of
https://github.com/imartinez/privateGPT.git
synced 2026-08-09 08:03:42 +00:00
* fix: extract citations * fix: add logs in celery runner * chore: add faster test run * fix: add buffer to the condensation * fix: tick quotes * fix: citations * fix: mypy * fix: tools endpoint * chore: add logs * fix: async tool execution * fix: race conditions in async runner * fix: s3 mime type * fix: cancel async tasks * fix: guest mime * test: add disconnect http * fix: amqp callback * fix: flush * fix: warm up the vector * fix: bash tool * fix: tools * fix: remove noise * fix: ensure to cancel any pending timeout after execution * ... * fix: grpc * fix: mypy * fix: grpc * fix: mypy * fix: infinite loop * test: add tests * fix: update content router to be async * fix: tools & params * fix: mypy * fix: mypy * fix: random bugs * fix: mypy * fix: cancellation * fix: issue with timeouts * fix: timeout * fix: fire and forget * fix: citation robustness * fix: avoid to duplicate suffixes * fix: mypy * fix: allow to set special tokens * fix: duplicates layers * fix: mypy * fix: allow to upload skills with random metadata * fix: mypy * fix: rollback the old version * fix: tests * perf: add logs * fix: ingestion * fix: tools endpoints * fix: chunked endpoint * fix: it's losing filename & non-utf-8 files * fix: mypy * fix: update ui
PrivateGPT Workbench
PrivateGPT Workbench is a lightweight static demo UI for the PrivateGPT API. It lives in ./ui, keeps the implementation in a single index.html, and stores supporting documentation separately so the runtime file stays easy to inspect.
Layout
index.html: the only runtime implementation file.AGENTS.md: Codex and OpenAI-style agent workflow notes.CLAUDE.md: Claude Code workflow notes.docs/PRD.md: product behavior and requirements.docs/STYLE_GUIDE.md: visual and interaction direction.docs/SOURCE_OF_TRUTH.md: canonical paths, API contract, and doc ownership.references/*: visual reference images used by the style guide.
Working Rules
- Keep the app implementation in
index.htmlunless a separate refactor is explicitly requested. - Keep product, design, and architecture guidance in
docs/, not in the top level beside runtime code. - Keep visual reference images in
references/, not mixed with the implementation file. - Keep docs and implementation aligned whenever behavior, visuals, persistence, or API wiring changes.
Validation
For changes to ./ui/index.html, validate that the inline script parses:
node -e "const fs=require('fs'); const html=fs.readFileSync('./ui/index.html','utf8'); const m=html.match(/<script>([\s\S]*)<\/script>/); if(!m) throw new Error('script tag not found'); new Function(m[1]); console.log('script ok')"