The endpoint header dot previously reflected only the last manual 'Test endpoint' result (green=ok / red=fail / gray=never tested), so a configured, enabled endpoint looked gray until probed. Rebind it to a synchronous derivation from the form + feature toggle (no network): ready (green) configured AND enabled configured (yellow) configured but feature off misconfigured(orange) feature on but not configured (real misconfig) off (gray) not configured and not enabled 'Configured' = model filled AND a Base URL present (own or inherited from Chat); API key not required (local servers). Adds a Tooltip on the dot so color isn't the only signal. The Test button result stays as text. Implements docs/backlog/ai-endpoint-status-dot-config-enabled.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist