fix(transcription): [2f388f42] finalize and fix AI insights feature

This commit resolves all outstanding issues with the AI Insights feature.

- Corrects the transcript formatting logic in  to properly handle the database JSON structure, ensuring the AI receives the correct context.
- Fixes the Gemini API client by using the correct model name ('gemini-2.0-flash') and the proper client initialization.
- Updates  to securely pass the API key as an environment variable to the container.
- Cleans up the codebase by removing temporary debugging endpoints.
- Adds  script for programmatic updates.
- Updates documentation with troubleshooting insights from the implementation process.
This commit is contained in:
2026-01-26 08:53:13 +00:00
parent 771b06c1bc
commit adafab61ae
29 changed files with 2254 additions and 80 deletions

View File

@@ -91,6 +91,7 @@ services:
environment:
- PYTHONUNBUFFERED=1
- DATABASE_URL=sqlite:////app/transcripts.db
- GEMINI_API_KEY=AIzaSyCFRmr1rOrkFKiEuh9GOCJNB2zfJsYmR68
ports:
- "8001:8001"
depends_on: