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

Class GenerationConfig

src/core/models.py:147–153  ·  view source on GitHub ↗

Generation timeout configuration

Source from the content-addressed store, hash-verified

145
146
147class GenerationConfig(BaseModel):
148 """Generation timeout configuration"""
149
150 id: int = 1
151 image_timeout: int = 300 # seconds
152 video_timeout: int = 1500 # seconds
153 max_retries: int = 3 # 请求最大重试次数
154
155
156class CallLogicConfig(BaseModel):

Callers 1

get_generation_configMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected