Fix Custom Prompts documentation for named arguments + include canonical examples / reference.
Resolved 💬 4 comments Opened Oct 10, 2025 by 0xdevalias Closed Nov 13, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What is the type of issue?
Documentation is incorrect
What is the issue?
The Custom Prompts documentation seems to be incomplete / outdated:
I know of at least 2 recent PR's that worked on this feature, one of them added/updated these docs, but the second one didn't seem to touch them at all:
It would be nice to have a canonical, complete reference (including examples maybe?) of what a custom prompt should look like.
4 Comments
Here is what GitHub Codex (gpt-5) suggested, based on reviewing the codebase. I haven't deeply reviewed this to ensure it is correct, so take it as a starting point for exploring / validating deeper, rather than golden truth:
Prompt:
Linked References:
Response:
Some improvements / iterations since I first opened this:
This was recently added to the documentation.
@etraut-openai It would be helpful if you linked relevant PRs / etc when making statements like that.
I can see that these 3 PRs touched that docs file since I opened this issue:
And then there is this additional PR, which has yet to be merged:
I suspect it's this last PR that you were referring to as having been 'recently added to the documentation'; so traditionally I would have expected that this issue not been closed until that PR was merged.