Files
SubMiner/backlog/tasks/task-129 - Split-AI-model-and-system-prompt-config-between-Anki-and-YouTube-subtitle-generation.md

1.8 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, priority
id title status assignee created_date updated_date labels dependencies priority
TASK-129 Split AI model and system prompt config between Anki and YouTube subtitle generation Done
2026-03-08 09:40 2026-03-08 09:57
config
ai
anki
youtube-subgen
high

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.