Closes #4184, codex needs a non-empty system prompt

This commit is contained in:
Mario Zechner
2026-05-05 14:50:27 +02:00
parent 060c10b8ff
commit 15aa313501

View File

@@ -352,7 +352,7 @@ function buildRequestBody(
model: model.id,
store: false,
stream: true,
instructions: context.systemPrompt,
instructions: context.systemPrompt || "You are a helpful assistant.",
input: messages,
text: { verbosity: options?.textVerbosity || "low" },
include: ["reasoning.encrypted_content"],