diff --git a/actions/setup/js/handle_agent_failure.test.cjs b/actions/setup/js/handle_agent_failure.test.cjs index 613a724b24c..3a7428a0404 100644 --- a/actions/setup/js/handle_agent_failure.test.cjs +++ b/actions/setup/js/handle_agent_failure.test.cjs @@ -297,7 +297,7 @@ describe("handle_agent_failure", () => { try { await main(); - expect(capturedIssueBody).toContain("> Generated from [Test Workflow](https://github.com/owner/repo/actions/runs/123456) · sonnet46 1.25 AIC · ⊞ 900"); + expect(capturedIssueBody).toContain("> Generated from [Test Workflow](https://github.com/owner/repo/actions/runs/123456) · sonnet46 · 1.25 AIC · ⊞ 900"); } finally { delete process.env.GH_AW_AIC; delete process.env.GH_AW_AMBIENT_CONTEXT; diff --git a/actions/setup/js/handle_noop_message.cjs b/actions/setup/js/handle_noop_message.cjs index c3d82a56b76..cd55e5b7d28 100644 --- a/actions/setup/js/handle_noop_message.cjs +++ b/actions/setup/js/handle_noop_message.cjs @@ -95,7 +95,7 @@ function buildAICSuffix() { if (totalAIC <= 0) { return ""; } - return ` · ${compressedModelName ? `${compressedModelName} ` : ""}${formatAIC(totalAIC)} AIC`; + return ` · ${compressedModelName ? `${compressedModelName} · ` : ""}${formatAIC(totalAIC)} AIC`; } /** diff --git a/actions/setup/js/handle_noop_message.test.cjs b/actions/setup/js/handle_noop_message.test.cjs index 4e57b160fc7..eff07d6e1e7 100644 --- a/actions/setup/js/handle_noop_message.test.cjs +++ b/actions/setup/js/handle_noop_message.test.cjs @@ -778,7 +778,7 @@ This issue helps you: await main(); const commentCall = mockGithub.rest.issues.createComment.mock.calls[0][0]; - expect(commentCall.body).toContain("sonnet46 0.125 AIC"); + expect(commentCall.body).toContain("sonnet46 · 0.125 AIC"); }); it("should include evals AIC in the footer total when GH_AW_EVALS_AIC is set", async () => { @@ -802,7 +802,7 @@ This issue helps you: await main(); const commentCall = mockGithub.rest.issues.createComment.mock.calls[0][0]; - expect(commentCall.body).toContain("sonnet46 0.125 AIC"); + expect(commentCall.body).toContain("sonnet46 · 0.125 AIC"); }); it("should not include AIC suffix in comment footer when GH_AW_AIC is not set", async () => { diff --git a/actions/setup/js/messages.test.cjs b/actions/setup/js/messages.test.cjs index 59aa458db20..e05bb02a318 100644 --- a/actions/setup/js/messages.test.cjs +++ b/actions/setup/js/messages.test.cjs @@ -414,7 +414,7 @@ describe("messages.cjs", () => { runUrl: "https://github.com/test/repo/actions/runs/123", }); - expect(result).toBe("> Generated by [Test Workflow](https://github.com/test/repo/actions/runs/123) · sonnet46 0.125 AIC"); + expect(result).toBe("> Generated by [Test Workflow](https://github.com/test/repo/actions/runs/123) · sonnet46 · 0.125 AIC"); }); it("should include ambient context in the default footer when GH_AW_AMBIENT_CONTEXT is set", async () => { @@ -1203,7 +1203,7 @@ describe("messages.cjs", () => { runUrl: "https://github.com/test/repo/actions/runs/123", }); - expect(result).toBe("> Generated from [Test Workflow](https://github.com/test/repo/actions/runs/123) · sonnet46 1.25 AIC · ⊞ 900"); + expect(result).toBe("> Generated from [Test Workflow](https://github.com/test/repo/actions/runs/123) · sonnet46 · 1.25 AIC · ⊞ 900"); }); it("should include evals AI Credits in the default footer when available", async () => { @@ -1317,7 +1317,7 @@ describe("messages.cjs", () => { runUrl: "https://github.com/test/repo/actions/runs/123", }); - expect(result).toBe("> Generated from [Test Workflow](https://github.com/test/repo/actions/runs/123) · sonnet46 1.25 AIC · ⊞ 900"); + expect(result).toBe("> Generated from [Test Workflow](https://github.com/test/repo/actions/runs/123) · sonnet46 · 1.25 AIC · ⊞ 900"); }); it("should include evals AI Credits in the default comment footer when available", async () => { diff --git a/actions/setup/js/messages_footer.cjs b/actions/setup/js/messages_footer.cjs index 978adb4922d..bee5985d31e 100644 --- a/actions/setup/js/messages_footer.cjs +++ b/actions/setup/js/messages_footer.cjs @@ -86,7 +86,7 @@ function buildAICEntry(label, value, modelAlias) { return { value, formatted, - suffix: formatted ? ` · ${prefix ? `${prefix} ` : ""}${formatted} AIC` : "", + suffix: formatted ? ` · ${prefix ? `${prefix}${modelAlias ? " · " : " "}` : ""}${formatted} AIC` : "", }; }