Documentation
¶
Overview ¶
Package codexcat renders models the way Codex describes them: the entries of its models.json, for `model_catalog_json` and for the model list magpie hands Codex in place of the ChatGPT backend's.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Prompt string
Prompt is Codex's generic system prompt (Apache-2.0, openai/codex, core/gpt-5.2-codex_prompt.md). Third-party models need one because the bundled catalog only carries prompts for OpenAI models.
Functions ¶
func CacheEntries ¶
CacheEntries is Codex's own models, as models_cache.json describes them for the ChatGPT account it last asked with, by slug.
func DefaultEffort ¶
DefaultEffort picks the middle of the road: "medium" or "high" when offered, else whatever the list starts with.
func Entries ¶
Entries renders models as models.json entries, ranked after the first `after`. Only fields Codex requires or that change behaviour are set; the rest take Codex's defaults.
Types ¶
This section is empty.