gproxy-transform 2.6.3

Pairwise request/response/stream transforms between the OpenAI, Anthropic Claude, and Google Gemini APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub fn synthetic_tool_call_id(prefix: &str, index: usize) -> String {
    format!("{prefix}_{index}")
}

pub fn preserve_tool_call_id(id: impl Into<String>) -> String {
    id.into()
}

pub fn tool_result_is_error(value: Option<bool>) -> bool {
    value.unwrap_or(false)
}