1.8 KiB
id, title, status, assignee, created_date, updated_date, labels, dependencies, priority, ordinal
| id | title | status | assignee | created_date | updated_date | labels | dependencies | priority | ordinal | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-129 | Split AI model and system prompt config between Anki and YouTube subtitle generation | Done | 2026-03-08 09:40 | 2026-03-16 05:13 |
|
high | 57500 |
Description
The current top-level shared AI config forces Anki translation and YouTube subtitle fixing to share the same model and system prompt, which caused subtitle-fix requests to inherit a translation prompt and translate Japanese primary subtitles into English. Refactor config so provider credentials stay shared while model and system prompt can be configured per feature.
Acceptance Criteria
- #1 Anki integration can use its own AI model and system prompt independently of YouTube subtitle generation.
- #2 YouTube subtitle generation can use its own AI model and system prompt independently of Anki integration.
- #3 Existing shared provider credentials remain reusable without duplicating API key/base URL config.
- #4 Config example, defaults, validation, and regression tests cover the new per-feature override shape.
Final Summary
Added per-feature AI model/systemPrompt overrides for Anki and YouTube subtitle generation while keeping shared provider transport settings reusable. Anki now accepts ankiConnect.ai object config with enabled, model, and systemPrompt; YouTube subtitle generation accepts youtubeSubgen.ai overrides and merges them over the shared AI provider config. Updated config resolution, launcher parsing, runtime wiring, hot-reload handling, example config, and regression coverage.