Skip to main content

NormalizeToolCallId

Type Alias NormalizeToolCallId 

Source
pub type NormalizeToolCallId<'a> = dyn Fn(&str, &AssistantMessage) -> String + 'a;
Expand description

Maps a tool-call id from another model to one the target API accepts, given the assistant message that made the call.