Type Alias LlmSanitize Request Fn
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub type LlmSanitizeRequestFn = Arc<dyn Fn(LlmRequest) -> LlmRequest + Send + Sync>;
Sanitize an LLM request before the runtime records it.
LLM request sanitizers affect the serialized request payload emitted on start events. They do not mutate the caller-owned LlmRequest unless a separate request intercept does so.
Parameters
- First argument: LLM request payload to sanitize for observability.
Returns
Sanitized LlmRequest for the emitted event.