Function wrap_llm_request_intercept_fn
Function wrap_llm_request_intercept_fn
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub fn wrap_llm_request_intercept_fn(
cb: NemoRelayLlmRequestInterceptCb,
user_data: *mut c_void,
free_fn: NemoRelayFreeFn,
) -> LlmRequestInterceptFn
Wrap a C LLM request intercept callback (annotated-aware) into a Rust LlmRequestInterceptFn closure. The callback receives the intercept name, the opaque FfiLLMRequest, and the annotated JSON (or null). It writes the transformed request and annotated JSON to output pointers.