openai / openai/codex

CLI - subagent invalid response body

Open
#40,919 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

aws-bedrock bug CLI subagent
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of Codex CLI is running?

codex-cli 0.149.1

What subscription do you have?

AWS bedrock

Which model were you using?

gpt-5.6-sol

What platform is your computer?

Darwin 24.6.0 arm64 arm

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

wezterm

Codex doctor report

What issue are you seeing?

When I ask sol to delegate work to a luna subagent, it fails immediately with the following error message.
{"error":{"code":"validation_error","message":"invalid request body: Invalid 'input': value did not match any expected variant","param":null,"type":"invalid_request_error"}}

What steps can reproduce the bug?

ask sol to delegate to luna subagents.

What is the expected behavior?

expected that luna subagent begins to do the assigned task without failure.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing delegation from the Codex CLI using the reported codex-cli 0.149.1, AWS Bedrock, and gpt-5.6-sol setup. Trace the request sent when sol delegates to a luna subagent and compare it with the validation error; done means the luna subagent starts work without an invalid request body.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, rust
Domain
api, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.