gstack/design
RagavRida d78eeeed03 fix(design): add --api-timeout flag, raise default 120s to 300s for image-gen
Five image-generation callsites (generate, variants, iterate x2, evolve)
hardcoded a 120_000ms ceiling with no CLI override. With default size
(1536x1024) + quality:high on gpt-4o + image_generation tool, response
time pushes into the 90-180s range on slower account tiers, tipping over
the 120s ceiling for many users (issue #1519).

- design/src/constants.ts: DEFAULT_IMAGE_GEN_TIMEOUT_MS = 300_000
- apiTimeoutMs?: number option threaded through GenerateOptions,
  VariantsOptions, IterateOptions, EvolveOptions
- --api-timeout <ms> CLI flag (distinct from --timeout, which is
  plumbed only to compare --serve / serve for the HTTP listener)
- Regression test pins the constant + verifies the AbortController
  honors the override via stubbed slow fetch

Closes #1519.
2026-06-12 00:38:07 +05:30
..
src fix(design): add --api-timeout flag, raise default 120s to 300s for image-gen 2026-06-12 00:38:07 +05:30
test fix(design): add --api-timeout flag, raise default 120s to 300s for image-gen 2026-06-12 00:38:07 +05:30
prototype.ts v1.30.0.0 fix wave: 21 community PRs + Windows CI extension + codex flag-semantics smoke (#1391) 2026-05-09 08:06:47 -07:00