Expand description
Per-turn overrides applied before request preparation without changing agent defaults.
use rig_agent::run::patch::RequestPatch;
let patch = RequestPatch::new().temperature(0.2).max_tokens(256);
assert!(!patch.is_empty());Structs§
- Request
Patch - A non-sticky patch applied only to the current turn’s completion request.