Streaming dictation sends one transcription request per ended speech segment. With redemptionMs=640 the VAD cut on every ~0.64s gap, so normal halting speech fragmented into many segments and flooded /ai-chat/transcribe — tripping the per-user rate limit even at modest real usage. Raise redemptionMs to 1500 so a cut only happens on a real sentence/thought pause (~the "couple seconds" the feature was meant to use). Request count now tracks actual pauses rather than inter-word gaps; the server throttle is left unchanged (the earlier limit bump was treating the symptom). 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