feat(image): complete reviewed generation delivery
Memind CI / Test, build, and release guards (pull_request) Successful in 2m47s
Memind CI / Test, build, and release guards (pull_request) Successful in 2m47s
This commit is contained in:
@@ -65,9 +65,13 @@ test('router injects a fail-closed generate_image contract for required visual p
|
||||
});
|
||||
assert.equal(classification.imageGeneration.mode, IMAGE_GENERATION_MODE.REQUIRED);
|
||||
const enriched = router.applyAgentOrchestration(userMessage, classification, {
|
||||
grantedSkills: ['static-page-publish'],
|
||||
grantedSkills: ['static-page-publish', 'image-generation'],
|
||||
});
|
||||
assert.match(enriched.content[0].text, /load_skill → image-generation/);
|
||||
assert.match(enriched.content[0].text, /不要反问用户工具参数/);
|
||||
assert.match(enriched.content[0].text, /sandbox-fs__generate_image/);
|
||||
assert.match(enriched.content[0].text, /asset\.htmlSrc/);
|
||||
assert.match(enriched.content[0].text, /workspaceRelativePath 只用于工作区文件操作/);
|
||||
assert.match(enriched.content[0].text, /当前这一次执行中发起新的 generate_image/);
|
||||
assert.match(enriched.content[0].text, /历史对话中的成功或失败都不能作为本轮结果/);
|
||||
assert.match(enriched.content[0].text, /hero 成功后必须复用该资产/);
|
||||
|
||||
Reference in New Issue
Block a user