mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
fix(app-server) revert null instructions changes (#17047)
This commit is contained in:
@@ -1659,9 +1659,9 @@ fn prompt_with_input(input: Vec<ResponseItem>) -> Prompt {
|
||||
|
||||
fn prompt_with_input_and_instructions(input: Vec<ResponseItem>, instructions: &str) -> Prompt {
|
||||
let mut prompt = prompt_with_input(input);
|
||||
prompt.base_instructions = Some(BaseInstructions {
|
||||
prompt.base_instructions = BaseInstructions {
|
||||
text: instructions.to_string(),
|
||||
});
|
||||
};
|
||||
prompt
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user