Skip to content

v4.7.8 - Critical Prompt Construction Fix

Choose a tag to compare

@tvcnet tvcnet released this 21 Mar 00:08
· 6 commits to main since this release

Fixed

  • Critical Prompt Construction Bug: Fixed a destructuring mismatch in buildPrompt() where platform was always undefined (the Alpine component uses selectedPlatform). 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.