Skip to content

add custom models and role prompts#20911

Closed
friel-openai wants to merge 2 commits into
dev/friel/frodex-129-watchdog-runtime-basefrom
dev/friel/frodex-129-custom-models-prompts
Closed

add custom models and role prompts#20911
friel-openai wants to merge 2 commits into
dev/friel/frodex-129-watchdog-runtime-basefrom
dev/friel/frodex-129-custom-models-prompts

Conversation

@friel-openai
Copy link
Copy Markdown
Contributor

@friel-openai friel-openai commented May 3, 2026

Summary

Adds role-aware prompt injection and custom model aliases to Codex.

This PR adds root, subagent, and watchdog prompt files; supports AGENTS.root.md, AGENTS.subagent.md, and AGENTS.watchdog.md; and inserts developer prompts based on the active agent role. It also adds top-level custom_models, request_model, alias display with the backing request slug, context-window overrides, and auto-compact limit overrides.

Validation

  • cargo test -p codex-models-manager
  • Included in CODEX_SKIP_VENDORED_BWRAP=1 cargo build -p codex-cli --bin codex

@friel-openai friel-openai force-pushed the dev/friel/frodex-129-watchdog-runtime-base branch from 2b1ee31 to 1080a93 Compare May 3, 2026 22:34
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from 7278c91 to 26e169d Compare May 3, 2026 22:34
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-watchdog-runtime-base branch from 1080a93 to 005bb00 Compare May 3, 2026 22:42
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from 26e169d to 8011a01 Compare May 3, 2026 22:42
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-watchdog-runtime-base branch from 005bb00 to ba7aa4c Compare May 3, 2026 23:12
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from 8011a01 to 34d0787 Compare May 3, 2026 23:13
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-watchdog-runtime-base branch from ba7aa4c to 6cc570e Compare May 3, 2026 23:33
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from 34d0787 to 2380cb2 Compare May 3, 2026 23:39
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-watchdog-runtime-base branch from 6cc570e to 00ef375 Compare May 4, 2026 00:21
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from 2380cb2 to b899578 Compare May 4, 2026 00:21
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-watchdog-runtime-base branch from 00ef375 to 92faa9e Compare May 4, 2026 00:36
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from b899578 to de8cf4d Compare May 4, 2026 00:36
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-watchdog-runtime-base branch from 92faa9e to f44de61 Compare May 4, 2026 00:50
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from de8cf4d to 983bea6 Compare May 4, 2026 00:50
Co-authored-by: Codex <noreply@openai.com>
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from 983bea6 to a5b4f85 Compare May 4, 2026 01:02
@friel-openai friel-openai force-pushed the dev/friel/frodex-129-custom-models-prompts branch from a31c129 to 4f3b42c Compare May 4, 2026 01:23
@friel-openai friel-openai changed the title frodex: add custom models and role prompts add custom models and role prompts May 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 14 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant