Set image generation timeout in seconds
(self, timeout: int)
| 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: |
no outgoing calls