@danhachuel/thunderbolt 0.7.45 → 0.7.47

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 +4 -0
  2. package/package.json +1 -1
package/app/main.py CHANGED
@@ -5924,6 +5924,8 @@ def render_thumbnails():
5924
5924
  )
5925
5925
  st.success("Thumbnail gerada com sucesso.")
5926
5926
  st.rerun()
5927
+ except MediaGenerationError as exc:
5928
+ st.error(format_media_generation_error(exc, operation="gerar a imagem da thumbnail"))
5927
5929
  except ThumbnailGenerationError as exc:
5928
5930
  st.error(str(exc))
5929
5931
 
@@ -5955,6 +5957,8 @@ def render_thumbnails():
5955
5957
  )
5956
5958
  st.success("Prompt da thumbnail e imagem actualizados.")
5957
5959
  st.rerun()
5960
+ except MediaGenerationError as exc:
5961
+ st.error(format_media_generation_error(exc, operation="refazer o prompt e gerar a imagem da thumbnail"))
5958
5962
  except (CreativeGenerationError, ThumbnailGenerationError) as exc:
5959
5963
  st.error(str(exc))
5960
5964
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danhachuel/thunderbolt",
3
- "version": "0.7.45",
3
+ "version": "0.7.47",
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",