v4.7.8 - Critical Prompt Construction Fix
Fixed
- Critical Prompt Construction Bug: Fixed a destructuring mismatch in
buildPrompt()whereplatformwas alwaysundefined(the Alpine component usesselectedPlatform). This caused the entire structured prompt - 5 W's, platform guide, tone, length, image context, and character limit rules - to be skipped, sending only a generic fallback string to the AI. Most visibly, when photos were attached, the AI would generate posts based solely on the image with no text context.
Impact
This fix restores the full prompt pipeline for all four AI providers (Claude, OpenAI, Gemini, Ollama). Posts will now correctly incorporate all user inputs, platform-specific writing guides, and image context instructions.