Repository navigation
v4.0.0b1
Pre-release
Pre-release
Overview
Major architectural enhancements, adding a distributed server/worker system powered by the pure Gemini Interactions API and a streamlined 3-stage processing pipeline.
Key Changes
1. Pure Gemini Interactions API Migration
- Removed dependency on
pydantic-aiin favor of direct, low-level interactions with the Gemini API viasrc/ai_sub/gemini_executor.py.
2. Distributed Server & Worker Architecture
- Implemented a robust client-server task distribution model (
[src/ai_sub/server/coordinator.py](src/ai_sub/server/coordinator.py),src/ai_sub/worker/runner.py). - Added deployment configurations and deployment guides (
[docs/SERVER_DEPLOYMENT.md](docs/SERVER_DEPLOYMENT.md),docs/worker.yaml.example,docs/server.yaml.example).
3. Streamlined Pipeline Stages
- Refactored pipeline execution into a strict 3-stage sequence:
- Global Summary:
src/ai_sub/jobs/summary.pygenerates initial overview and context. - Subtitle Generation:
src/ai_sub/jobs/subtitles.pyperforms raw and refined subtitle segmentation and stitching. - Lyrics Refinement:
src/ai_sub/jobs/lyrics.pyhandles lyrics synchronization and refinement (replacing legacymusic-refine).
Breaking Changes
- Requires Python 3.11 or later; configuration options have been reorganized.
What's Changed
- V4 - Server/Worker Architecture & Pure Gemini API Migration by @FlippFuzz in #24
- Remove pydantic ai by @FlippFuzz in #23
Full Changelog: v3.6.0...v4.0.0b1