Repository navigation
Commit a60c26f
committed
fix(codex): send strict: false on translated function tools
The Responses API defaults function tools to strict mode, which makes the
model fill every schema property — optional fields included. Claude Code
tool schemas rely on optional fields staying omittable; under strict
decoding the model always emits e.g. Agent.isolation, forcing worktree
isolation and breaking subagent spawns outside git repos.
Send an explicit strict: false, matching the official Codex CLI.1 parent e70ce0c commit a60c26f
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
| |||
518 | 524 | | |
519 | 525 | | |
520 | 526 | | |
| 527 | + | |
521 | 528 | | |
522 | 529 | | |
523 | 530 | | |
| |||
0 commit comments