Closes #4184, codex needs a non-empty system prompt
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user