@danhachuel/thunderbolt 0.6.8 → 0.6.9
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.
|
@@ -693,7 +693,18 @@ def _material_video_attempts(task: dict[str, Any], settings: dict[str, Any]) ->
|
|
|
693
693
|
fallback = [item for item in attempts if item[0] != route]
|
|
694
694
|
ordered = preferred + fallback
|
|
695
695
|
if ordered:
|
|
696
|
-
|
|
696
|
+
# Uma execução do helper já recebe a lista de chaves do provider
|
|
697
|
+
# configurado; não repetir o mesmo provider por cada cartão/key.
|
|
698
|
+
# Repetições anteriores reinstalavam dependências e produziam cascatas
|
|
699
|
+
# como Pexels → Pexels → Pixabay sem acrescentar uma estratégia real.
|
|
700
|
+
unique: list[tuple[str, str]] = []
|
|
701
|
+
seen: set[str] = set()
|
|
702
|
+
for provider, api_key in ordered:
|
|
703
|
+
if provider in seen:
|
|
704
|
+
continue
|
|
705
|
+
seen.add(provider)
|
|
706
|
+
unique.append((provider, api_key))
|
|
707
|
+
return unique
|
|
697
708
|
# Legacy settings keep the complete key list in one config field. Let
|
|
698
709
|
# MoneyPrinterTurbo retain its own list handling when no individual cards
|
|
699
710
|
# are available, preserving backwards compatibility for older installs.
|
package/package.json
CHANGED
package/seed/skills/mpt_agent.py
CHANGED
|
@@ -697,7 +697,7 @@ def ensure_moviepy(root: Path, uv: str) -> None:
|
|
|
697
697
|
MOVIEPY_REQUIREMENT,
|
|
698
698
|
"python",
|
|
699
699
|
"-c",
|
|
700
|
-
"import
|
|
700
|
+
"import importlib.metadata; print(f\"moviepy {importlib.metadata.version('moviepy')}\")",
|
|
701
701
|
],
|
|
702
702
|
cwd=root,
|
|
703
703
|
)
|