Skip to content

Subagent Custom Agent Model/Reasoning Config Not being Respected #14671

@am-will

Description

@am-will

What version of Codex CLI is running?

0.114.0

What subscription do you have?

Pro

Which model were you using?

Gpt 5.3

What platform is your computer?

ubuntu

What terminal emulator and version are you using (if applicable)?

ghostty

What issue are you seeing?

I am testing custom subagent roles, and according to the rust logs, its not using the model I configured. I tested in 0.115.0 alpha as well and it also doesn't work.

So if you set model to 5.3 spark, or 5.1 mini, instead of running that model from that agent.toml files, it will just inherit the parent's model (5.3 in this case).

Rust log confirmed that my Spark and Mini agents both ran with GPT 5.3 Medium (the current model I was using) despite having them configured.

spark.toml
model = "gpt-5.3-codex-spark"
model_reasoning_effort = "high"

The custom agent roles are available and callable in Codex, so they are configured correctly as far as I'm aware, and Codex will call them, but the model is overridden.

What steps can reproduce the bug?

Uploaded thread: 019cea5c-f813-7582-880f-2e57c89c37b9

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsubagentIssues involving subagents or multi-agent features

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions