Update src/auto-reply/reply/followup-runner.test.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Joseph Krug 2026-03-14 23:26:27 -04:00 committed by Joey Krug
parent f1e023c3de
commit ad0a1bdc5e

View File

@ -1650,7 +1650,7 @@ describe("createFollowupRunner media understanding", () => {
expect(agentCall?.prompt).toContain("Run `/think high` literally in the shell example.");
});
it("rebuilds the prompt when image understanding mutates the body without outputs", async () => {
it("rebuilds the prompt when image understanding mutates the body alongside existing text", async () => {
applyMediaUnderstandingMock.mockImplementationOnce(
async (params: { ctx: Record<string, unknown> }) => {
params.ctx.Body = "some text\n\n[Image summary]\nA whiteboard with action items.";