MCPcopy Create free account
hub / github.com/BerriAI/litellm / integer

Function integer

litellm-rust/crates/cache-disk/src/python/value.rs:72–74  ·  view source on GitHub ↗
(value: String)

Source from the content-addressed store, hash-verified

70}
71
72fn integer(value: String) -> Result<Value, Error> {
73 value.parse().map_err(Error::invalid_entry)
74}
75
76pub(crate) fn from_json(value: serde_json::Value) -> Value {
77 match value {

Callers 3

from_pickle_valueFunction · 0.70
from_pickle_hashableFunction · 0.70
from_jsonFunction · 0.70

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected