Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

test(pi): 补多模态集成用例缺失的图片能力标记

Lizi351139118e7e
diff --git a/packages/maker-core/src/agents/pi/__tests__/pi-agent.integration.test.ts b/packages/maker-core/src/agents/pi/__tests__/pi-agent.integration.test.ts
index 663b38e9c5..4dc5859677 100644
--- a/packages/maker-core/src/agents/pi/__tests__/pi-agent.integration.test.ts
+++ b/packages/maker-core/src/agents/pi/__tests__/pi-agent.integration.test.ts
@@ -355,6 +355,9 @@ describe.skipIf(!piAvailable)('PiAgent integration (real pi binary + fake gatewa
contextWindow: 200_000,
efforts: [],
defaultEffort: null,
+ // 网关图片门控(assertImageInputSupported)按目录能力放行;多模态用例
+ // 走的正是本模型,不标会在 send 前被 PiImageInputUnsupportedError 拒收。
+ supportsImageInput: true,
},
],
},