Skip to content

Commit 33685e1

Browse files
committed
fix(codex): remove redundant context text coercion
1 parent abf78a0 commit 33685e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/codex/src/app-server/run-attempt.context-engine.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ describe("runCodexAppServerAttempt context-engine lifecycle", () => {
829829
}
830830
const firstContent = message.content[0];
831831
return typeof firstContent === "object" && firstContent !== null && "text" in firstContent
832-
? String(firstContent.text)
832+
? firstContent.text
833833
: "";
834834
});
835835
expect(retryAssembleMessageTexts).toEqual(["successor compacted context"]);

0 commit comments

Comments
 (0)