* feat: support Batch API for retain (openai/groq) * api * stop batch api if sync * fix(ui): improve toast notifications with brand colors and proper styling - Replace all window.alert() calls with toast notifications - Add interceptor-based error handling in API client - Use different toast styles based on HTTP status codes (4xx = warning, 5xx = error) - Apply Hindsight brand colors to toasts (primary blue for info, destructive red for errors, etc.) - Remove obsolete error handling files (hindsight-client-with-toast.ts, api-error-handler.ts) - Fix toast background conflicts by removing base bg-background class * fix: restore retain_batch_tokens config that was accidentally removed during rebase |
||
|---|---|---|
| .. | ||
| blog | ||
| docs | ||
| examples | ||
| src | ||
| static | ||
| versioned_docs | ||
| versioned_sidebars | ||
| .gitignore | ||
| docusaurus.config.ts | ||
| package.json | ||
| README.md | ||
| sidebars.ts | ||
| tsconfig.json | ||
| versions.json | ||
Website
This website is built using Docusaurus, a modern static website generator.
Installation
npm install
Local Development
npm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
npm run build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true npm run deploy
Not using SSH:
GIT_USER=<Your GitHub username> npm run deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.