fabro/lib/crates/fabro-agent/tests/it
Bryan Helmkamp 91d11eb04d
fix(llm): preserve raw compatible tool arguments (#448)
## Summary

Fixes #435.

Preserve raw non-JSON tool-call arguments for custom/freeform tools when
using the OpenAI-compatible Chat Completions adapter. This keeps
`apply_patch` receiving the raw patch text instead of `{}` when
LiteLLM/openai-compatible providers emit Codex-style freeform patch
calls.

Also extends the OpenAI twin so black-box tests can exercise the Chat
Completions path with raw tool-call arguments.

## Test Plan

- `cargo +nightly-2026-04-14 fmt --check --all`
- `cargo nextest run -p fabro-agent --test it
openai_compatible_twin_preserves_raw_apply_patch_arguments --run-ignored
only`
- `cargo nextest run -p fabro-llm`
- `cargo nextest run -p fabro-test`
2026-05-28 11:52:36 -04:00
..
compaction.rs fix(agent): align compaction preserve boundary (#449) 2026-05-28 11:26:52 -04:00
guardrails.rs feat(llm): support agent profile overrides (#291) 2026-05-16 17:40:59 -04:00
main.rs fix(agent): preserve tool-call pairs during compaction (#447) 2026-05-28 10:37:30 -04:00
parity_matrix.rs fix(llm): preserve raw compatible tool arguments (#448) 2026-05-28 11:52:36 -04:00