diff --git a/ventures/havre/tests/abilities.test.mjs b/ventures/havre/tests/abilities.test.mjs index 35b14fd..00d5c9f 100644 --- a/ventures/havre/tests/abilities.test.mjs +++ b/ventures/havre/tests/abilities.test.mjs @@ -287,8 +287,8 @@ test("the conversation as the model reads it: a photo it sent is mentioned to it assert.deepEqual(api.map((m) => m.role), ["user", "assistant", "user", "user", "assistant", "user"]); assert.equal(api[1].content, "*sends a photo: On the deck*\n\n*sends a short video: Waving*"); assert.equal(api[2].content, "lovely"); - assert.equal(api[2].content, "[a photo: A gull on a post.] what's this?"); - assert.equal(api[4].content, "hello there"); + assert.equal(api[3].content, "[a photo: A gull on a post.] what's this?"); + assert.equal(api[5].content, "hello there"); assert.ok(!api.some((m) => /\[photo\]/.test(m.content)), "the model never sees a photo placeholder in its own voice"); const seen = A.withPicture([{ role: "system", content: "s" }, { role: "user", content: "[a photo] look" }], "data:image/jpeg;base64,AAAA"); assert.deepEqual(seen[1].content[1], { type: "image_url", image_url: { url: "data:image/jpeg;base64,AAAA" } });