fix: hide framework labels in generated content + editable hashtags

- Add explicit instruction to LLM: never write framework labels (PROBLEMA,
  AGITAZIONE, SOLUZIONE, etc.) — use them as invisible narrative structure only
- Replace static hashtag chips with HashtagEditor component:
  - Click hashtag to edit inline
  - Click X to remove
  - Input field to add new hashtags
  - Save button to persist changes to DB

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michele
2026-04-03 18:20:06 +02:00
parent 497b95e673
commit a6270c2e3f
2 changed files with 89 additions and 11 deletions

View File

@@ -41,7 +41,12 @@ def generate_post_text(
f"Your expertise covers: {topics_str}. "
f"Your communication style is {tone}. "
f"You create authentic, engaging content that resonates with your audience. "
f"Never reveal you are an AI. Write as {name} would naturally write."
f"Never reveal you are an AI. Write as {name} would naturally write.\n\n"
f"REGOLA CRITICA: Se ti viene indicata una tecnica narrativa (PAS, AIDA, Storytelling, ecc.), "
f"usala SOLO come struttura invisibile del testo. "
f"NON scrivere MAI le etichette del framework nel post (es. non scrivere 'PROBLEMA:', "
f"'AGITAZIONE:', 'SOLUZIONE:', 'ATTENZIONE:', 'INTERESSE:', ecc.). "
f"Il lettore non deve percepire alcun framework — deve sembrare un post naturale e spontaneo."
)
# Platform-specific instructions