MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / set_image_timeout

Method set_image_timeout

src/core/config.py:311–315  ·  view source on GitHub ↗

Set image generation timeout in seconds

(self, timeout: int)

Source from the content-addressed store, hash-verified

309 return self._config.get("generation", {}).get("image_timeout", 300)
310
311 def set_image_timeout(self, timeout: int):
312 """Set image generation timeout in seconds"""
313 if "generation" not in self._config:
314 self._config["generation"] = {}
315 self._config["generation"]["image_timeout"] = timeout
316
317 @property
318 def video_timeout(self) -> int:

Callers 2

asyncTearDownMethod · 0.80

Calls

no outgoing calls

Tested by 1

asyncTearDownMethod · 0.64