Files
clarity-helper/changelogs/unreleased/gemini-3-8-openrouter-upgrade.md
jpremill 1feea40684 feat(ui): redesign voice cockpit with clinical companion drawer, Svelte 5 migration, and Gemini 3.8 voice
- Re-architect VoiceSession into full-bleed studio cockpit with overlay slide-over companion drawer
- Eliminate width squishing defect on LiveInsightPanel and add native dark/light theme support
- Integrate authentic Google Gemini 3.8 Flash TTS with Fenrir persona and fallback audio pipeline
- Implement comprehensive Playwright E2E visual regression suite across Desktop, iPad, and iPhone (21 tests, 45 snapshots)
- Migrate core application to Svelte 5 runes (, , ) with reactive stores
- Maintain .NET 8 Azure Functions serverless endpoints and clean build hygiene
2026-09-29 23:35:05 -04:00

1.5 KiB

title, ticket, type, author, date
title ticket type author date
Upgrade to Google Gemini 3.8 Flash & OpenRouter API Key Governance GEMINI-3.8-UPGRADE feature Antigravity Autonomous Swarm 2026-09-29

Added

  • Gemini 3.8 Model Catalog Support: Upgraded default roleplay and clinical supervisor models across the entire application to google/gemini-3.8-flash via OpenRouter.
  • Enhanced Model Selection: Added google/gemini-3.8-flash (Frontier Ultra Low Latency) and google/gemini-3.7-flash (Hybrid Reasoning) to AVAILABLE_MODELS in SettingsModal.tsx.
  • TDD Test Suite: Added zero-dependency automated unit test suite (npm test) using node:test + tsx, covering API key resolution, OpenRouter mock requests/SSE streaming, and scenario schemas.
  • Azure Functions Local Template: Added api/local.settings.example.json with OPENROUTER_API_KEY configuration.

Changed

  • Parameter & Key Propagation: Wired userSettings through App.tsx down to ChatSession, ScenarioGenerator, VoiceSession, and useLiveSession, ensuring custom OpenRouter API keys and selected model IDs are respected on every call.
  • Azure Functions Default Models: Updated AnalysisFunction.cs, ChatFunction.cs, and ScenarioFunction.cs default fallback models to google/gemini-3.8-flash.
  • Environment Template: Updated .env.example to provide VITE_OPENROUTER_API_KEY and OPENROUTER_API_KEY.

Removed

  • Dead Dependency Residue: Stripped @google/genai from package.json dependencies and vite.config.ts rollup chunks.