core-agent-ide/codex-rs/exec/tests
Dylan 236c4f76a6
[apply_patch] freeform apply_patch tool (#2576)
## Summary
GPT-5 introduced the concept of [custom
tools](https://platform.openai.com/docs/guides/function-calling#custom-tools),
which allow the model to send a raw string result back, simplifying
json-escape issues. We are migrating gpt-5 to use this by default.

However, gpt-oss models do not support custom tools, only normal
functions. So we keep both tool definitions, and provide whichever one
the model family supports.

## Testing
- [x] Tested locally with various models
- [x] Unit tests pass
2025-08-22 13:42:34 -07:00
..
apply_patch.rs [apply_patch] freeform apply_patch tool (#2576) 2025-08-22 13:42:34 -07:00
sandbox.rs Added allow-expect-in-tests / allow-unwrap-in-tests (#2328) 2025-08-14 17:59:01 -07:00