v16: TTS Preview + Browser Whisper fixes with correct CSP
Critical fixes from v15: - TTS Preview: Fixed event listener (tabChanged not tab-loaded) - Browser Whisper: Fixed CSP to allow CDN loading (unsafe-eval + jsdelivr) - Worker: Added error handling and logging for importScripts - Voice Preferences: Multiple init paths with fallbacks - Debug logging throughout for troubleshooting Changes: - server.js: CSP allows unsafe-eval, cdn.jsdelivr.net in connectSrc - voicePreferences.js: Correct event name, immediate init fallback - whisperWorker.js: Try-catch on importScripts, better errors - app.js: Enhanced preload error handling This version should actually work - previous bugs were: 1. Wrong event name prevented TTS preview init 2. CSP blocked worker CDN loading
This commit is contained in:
parent
9466065393
commit
f3624c0806
3 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
pediatric-scribe:
|
||||
image: danielonyejesi/pediatric-ai-scribe-v3:v15
|
||||
image: danielonyejesi/pediatric-ai-scribe-v3:v16
|
||||
ports:
|
||||
- "3552:3000"
|
||||
env_file:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pediatric-ai-scribe",
|
||||
"version": "15.0.0",
|
||||
"version": "16.0.0",
|
||||
"description": "AI-powered pediatric clinical documentation platform",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ app.get('/api/models', async (req, res) => {
|
|||
const { activeProvider } = require('./src/utils/ai');
|
||||
app.get('/api/health', (req, res) => {
|
||||
res.json({
|
||||
status: 'running', version: '15.0.0', provider: activeProvider,
|
||||
status: 'running', version: '16.0.0', provider: activeProvider,
|
||||
timestamp: new Date().toISOString(),
|
||||
openrouter: process.env.OPENROUTER_API_KEY ? 'configured' : 'missing',
|
||||
bedrock: process.env.AWS_BEDROCK_REGION ? 'configured' : 'not configured',
|
||||
|
|
|
|||
Loading…
Reference in a new issue