Skip to content

Honor configured model defaults for spawned agents - #33631

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b1efa8c9abeee82355088fceef57560433144595
Jul 16, 2026
Merged

Honor configured model defaults for spawned agents#33631
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b1efa8c9abeee82355088fceef57560433144595

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 16, 2026

Copy link
Copy Markdown

Honor configured model defaults for spawned agents

What changed

  • Apply agents.default_subagent_model and
    agents.default_subagent_reasoning_effort when a spawn request does not
    provide explicit values, including agent job workers.
  • Allow full-history forks to use configured defaults or explicit model and
    reasoning-effort overrides while retaining the parent conversation context.
  • Preserve the selected model and reasoning effort when an agent role does not
    override them.

Testing

  • Cover configured defaults, explicit override precedence, full-history forks,
    role application, and agent job workers.

## What changed

- Apply `agents.default_subagent_model` and
  `agents.default_subagent_reasoning_effort` when a spawn request does not
  provide explicit values, including agent job workers.
- Allow full-history forks to use configured defaults or explicit model and
  reasoning-effort overrides while retaining the parent conversation context.
- Preserve the selected model and reasoning effort when an agent role does not
  override them.

## Testing

- Cover configured defaults, explicit override precedence, full-history forks,
  role application, and agent job workers.

GitOrigin-RevId: b1efa8c9abeee82355088fceef57560433144595
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/b1efa8c9abeee82355088fceef57560433144595 branch from 430732d to 21c37fb Compare July 16, 2026 16:09
@copyberry
copyberry Bot merged commit 21c37fb into main Jul 16, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/b1efa8c9abeee82355088fceef57560433144595 branch July 16, 2026 16:11
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant