Provide model version in system prompt
What feature would you like to see?
I'm asking LLMs to annotate functions they create with prompt and model in use (e.g. /* Created by GPT-5. Intention: detect cyclic dependencies */).
While Claude Code knows which model it is (Opus 4.1 etc.), Codex CLI does not. This makes the annotation less useful for reviews and debugging (e.g. if something is written by GPT-5-high, it's less likely to be the problem).
Can you add model name (GPT-5-Codex etc.) to the system prompt?
Claude Code
<img width="568" height="77" alt="Image" src="https://github.com/user-attachments/assets/30155d87-8f43-4949-9ee2-e12c263094a5" />
Codex CLI
<img width="793" height="141" alt="Image" src="https://github.com/user-attachments/assets/a88dc667-c9dd-4b92-b143-98a71e5f3caa" />
Are you interested in implementing this feature?
I'm comfortable with Rust so if there is some instruction I can try to submit a PR to add it myself.
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗