mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
fix (#17493)
# External (non-OpenAI) Pull Request Requirements Before opening this Pull Request, please read the dedicated "Contributing" markdown file or your PR may be closed: https://github.com/openai/codex/blob/main/docs/contributing.md If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes. Include a link to a bug report or enhancement request.
This commit is contained in:
committed by
GitHub
Unverified
parent
640d3a036f
commit
163ae7d3e6
@@ -74,7 +74,7 @@ mod tests {
|
||||
let prompt =
|
||||
prepare_realtime_backend_prompt(/*prompt*/ None, /*config_prompt*/ None);
|
||||
|
||||
assert!(prompt.starts_with("You are **Codex**"));
|
||||
assert!(prompt.starts_with("You are Codex, an OpenAI Coding Agent"));
|
||||
assert!(prompt.contains("The user's name is "));
|
||||
assert!(!prompt.contains("{{ user_first_name }}"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user