Align integration contract and image generation validation

This commit is contained in:
Pigway
2026-10-10 01:25:32 +08:00
parent b9b33b83bb
commit 4acd616555
5 changed files with 23 additions and 11 deletions
@@ -146,6 +146,7 @@ def install_ai_images(app, service):
}
).encode(),
limit=service.settings.max_bytes,
timeout=180,
)
result = json.loads(raw)["data"]
if len(result) != 1: