Skip to main content

parse_litellm_json

Function parse_litellm_json 

Source
pub fn parse_litellm_json(json_bytes: &[u8]) -> Vec<ConvertedEntry>
Expand description

Parse the full LiteLLM JSON blob and return converted entries.

ยงPanics

Panics if json_bytes is not a JSON object. The only caller supplies either the committed snapshot or a payload already validated by the caller.