


























@@ -31,6 +31,9 @@ execution:
3131imagePrompt: "Capability flip image check: generate a QA lighthouse image in this turn right now. Do not acknowledge first, do not promise future work, and do not stop before using image_generate. Final reply must include the MEDIA path."
3232imagePromptSnippet: "Capability flip image check"
3333deniedTool: image_generate
34+setupTurnTimeoutMs: 60000
35+imageTurnTimeoutMs: 75000
36+mediaPathTimeoutMs: 30000
3437```
35383639```yaml qa-flow
@@ -94,14 +97,14 @@ steps:
9497message:
9598expr: config.setupPrompt
9699timeoutMs:
97-expr: liveTurnTimeoutMs(env, 30000)
100+expr: liveTurnTimeoutMs(env, config.setupTurnTimeoutMs)
98101 - call: waitForOutboundMessage
99102args:
100103 - ref: state
101104 - lambda:
102105params: [candidate]
103106expr: "candidate.conversation.id === 'qa-operator' && String(candidate.text ?? '').includes('Protocol note')"
104- - expr: liveTurnTimeoutMs(env, 30000)
107+ - expr: liveTurnTimeoutMs(env, config.setupTurnTimeoutMs)
105108 - sinceIndex:
106109ref: setupStartIndex
107110 - call: readEffectiveTools
@@ -147,7 +150,7 @@ steps:
147150 - lambda:
148151async: true
149152expr: "(() => readEffectiveTools(env, sessionKey).then((tools) => (tools.has('image_generate') ? tools : undefined)))()"
150- - expr: liveTurnTimeoutMs(env, 45000)
153+ - expr: liveTurnTimeoutMs(env, config.imageTurnTimeoutMs)
151154 - 500
152155 - set: imageStartedAtMs
153156value:
@@ -164,7 +167,7 @@ steps:
164167message:
165168expr: config.imagePrompt
166169timeoutMs:
167-expr: liveTurnTimeoutMs(env, 45000)
170+expr: liveTurnTimeoutMs(env, config.imageTurnTimeoutMs)
168171 - try:
169172actions:
170173 - call: resolveGeneratedImagePath
@@ -177,7 +180,7 @@ steps:
177180startedAtMs:
178181ref: imageStartedAtMs
179182timeoutMs:
180-expr: liveTurnTimeoutMs(env, 15000)
183+expr: liveTurnTimeoutMs(env, config.mediaPathTimeoutMs)
181184catch:
182185 - set: mediaPath
183186value: ""
@@ -191,7 +194,7 @@ steps:
191194 - lambda:
192195params: [candidate]
193196expr: "candidate.conversation.id === 'qa-operator' && (String(candidate.text ?? '').includes('MEDIA:') || /media failed|image generation failed/i.test(String(candidate.text ?? '')))"
194- - expr: liveTurnTimeoutMs(env, 45000)
197+ - expr: liveTurnTimeoutMs(env, config.imageTurnTimeoutMs)
195198 - set: imageReplyText
196199value:
197200expr: "String(imageReply.text ?? '')"
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。