LaelLuoCLOSEAI的codex左右脑互博设定之system prompt 中发帖

很多人尝试codex模型的第一反应该都是,这家伙怎么那么喜欢写脚本改代码啊??? 
我第一次用的时候也很迷惑,因为按道理来说openai不至于在gpt5的基础上训练出一个更弱智的模型,并且还放出来,并且还作为codex cli 0.40.0版本的默认模型。
所以我又去掏codex的源码了

也就是说codex模型和gpt5模型用的是不一样的system prompt

/// The `instructions` field in the payload sent to a model should always start
/// with this content.
const BASE_INSTRUCTIONS: &str = include_str!("../prompt.md");
const GPT_5_CODEX_INSTRUCTIONS: &str = include...