From 86be4979a736e82c37fe0a1d904f06b8d26f7518 Mon Sep 17 00:00:00 2001 From: codex Date: Sun, 20 Sep 2026 22:27:07 +0900 Subject: [PATCH] test(responses): declare the inline-document destination accepts the developer role --- tests/responses/chat-inline-document-bytes.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/responses/chat-inline-document-bytes.test.ts b/tests/responses/chat-inline-document-bytes.test.ts index dd88fa0578..17aa779eb8 100644 --- a/tests/responses/chat-inline-document-bytes.test.ts +++ b/tests/responses/chat-inline-document-bytes.test.ts @@ -28,6 +28,11 @@ const chatProvider: OcxProviderConfig = { adapter: "openai-chat", baseUrl: "https://gateway.example.internal/v1", apiKey: "k", + // The case below asserts that a document survives on a `developer` turn, so it needs the + // role to reach the wire. That role folds to `system` unless a destination records that it + // accepts it, so the destination records it here; the document contract is what is under + // test, not the role decision. + foldDeveloperRoleToSystem: false, }; const anthropicProvider = { adapter: "anthropic",