Type Alias Nemo Relay Codec Encode Cb

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub type NemoRelayCodecEncodeCb = unsafe extern "C" fn(user_data: *mut c_void, annotated_json: *const c_char, original_request: *const FfiLLMRequest) -> *mut c_char;

Callback for Codec encode: merges structured changes back into opaque request content. Receives the annotated request as a JSON C string and the original FfiLLMRequest. Returns a heap-allocated JSON C string representing the new LlmRequest content on success, or null on error.