Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(cross-modal): the configured-multimodal inferred-image test seeds an image chunk, since a brain with no image embeddings keeps auto routing on text

garrytane4a06eb45e7f
diff --git a/test/cross-modal-hybrid-integration.serial.test.ts b/test/cross-modal-hybrid-integration.serial.test.ts
index a2ec0c6520..81d297918d 100644
--- a/test/cross-modal-hybrid-integration.serial.test.ts
+++ b/test/cross-modal-hybrid-integration.serial.test.ts
@@ -259,6 +259,7 @@ describe('hybridSearch cross-modal routing (Phase 1 integration)', () => {
test('the same inferred image intent still routes to the image arm when a multimodal model is configured', async () => {
configureBoth();
+ await seedImageChunk();
await hybridSearch(engine, 'A photo of Half Dome during sunset', { limit: 5 });
expect(fetchUrlsSeen.some(u => u.includes('multimodalembeddings'))).toBe(true);
});