fabro/arc/workflows/imagegen/workflow.toml
Bryan Helmkamp 74a0b89ca1 Fix imagegen script dying before error handling on API failures
Remove --fail-with-body from curl so the response body (including error
JSON) is always captured. Previously, set -e killed the script at the
curl line on non-2xx responses before the error-checking code could run,
leaving the agent with an opaque exit code 22 and no actionable message.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-10 10:24:13 -04:00

18 lines
287 B
TOML

version = 1
graph = "workflow.dot"
[sandbox]
provider = "daytona"
[sandbox.env]
GEMINI_API_KEY = "${env.GEMINI_API_KEY}"
[assets]
include = ["output/**"]
[sandbox.daytona.snapshot]
name = "imagegen-tools-v6"
cpu = 4
memory = 8
disk = 10
dockerfile = { path = "Dockerfile.imagegen" }