@danhachuel/thunderbolt 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/app/main.py +7 -2
  2. package/package.json +1 -1
package/app/main.py CHANGED
@@ -703,9 +703,14 @@ def generate_video_content_for_ui(
703
703
  blueprint: dict[str, Any] | None = None,
704
704
  ) -> dict[str, Any]:
705
705
  """Generate the subject, script and English keywords in one MoneyPrinter-style action."""
706
- subject = str(subject or "").strip()
706
+ entered_subject = str(subject or "").strip()
707
+ subject = entered_subject
707
708
  topic_result: dict[str, Any] | None = None
708
- if not subject:
709
+ if entered_subject:
710
+ # Um Video Subject escrito pelo utilizador é sempre o tema editorial;
711
+ # nunca o substituímos por um tópico aleatório gerado pela IA.
712
+ subject = entered_subject
713
+ else:
709
714
  selected_blueprint = blueprint if isinstance(blueprint, dict) else blueprint_for_channel(channel)
710
715
  topic_result = generate_topic_for_channel(settings, channel, selected_blueprint)
711
716
  subject = str(topic_result.get("topic") or "").strip()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danhachuel/thunderbolt",
3
- "version": "0.6.01",
3
+ "version": "0.6.02",
4
4
  "description": "Thunderbolt — interface local para operação de canais faceless e motor MoneyPrinterTurbo",
5
5
  "license": "MIT",
6
6
  "main": "scripts/cli.mjs",