You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ai): per-card re-analyze menu with provider override
Lets users re-run LLM analysis on a single card using any configured
provider (primary/secondary/tertiary), independent of the app's default.
Used as an escape hatch when the primary output is wrong or the user
wants to compare providers on the same source batch.
Changes:
- LLMService gets a new processBatch overload that accepts
providerOverride + chatToolOverride. When an override is set, the
configured-backup chain is skipped (caller's choice wins).
- AnalysisManager gets a reanalyzeCard(_:providerOverride:...) method
that looks up the card's batch, validates screenshots still exist,
resets observations + batch status, then re-runs processBatch with
the chosen provider.
- New ActivityCardReanalyzeMenu + ReanalyzePickerOverlay SwiftUI views
provide the UI: a sparkles button on each card opens an overlay
listing the user's configured primary/secondary/tertiary providers
(each with appropriate subtitle — local model ID, CLI tool, etc.)
- StorageManager gets batchIdForTimelineCard(_:) helper.
- LLMProviderRoutingPreferences extended with tertiary preferences.
Based on feat/apfel-provider so the .apfel option works out of the box.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments