mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-24 22:09:56 +00:00
number::int and number::float follow CPython's conversions of plain data, and pydantic::lax_int follows TypeAdapter(int) in lax mode, which LiteLLM's usage models apply to provider numbers. The fixture generator records each conversion's result or exception class for every corpus row, now including numeric text Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
606 B
TOML
25 lines
606 B
TOML
[package]
|
|
name = "litellm-python-compat"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "Python data formats (repr, literal_eval, json.dumps, pickle) reproduced for interop with persisted LiteLLM state"
|
|
|
|
[dependencies]
|
|
num-bigint = "0.4"
|
|
num-traits = "0.2"
|
|
serde.workspace = true
|
|
serde-pickle = "1.2"
|
|
serde_json = { workspace = true, features = ["preserve_order"] }
|
|
strum.workspace = true
|
|
thiserror.workspace = true
|
|
|
|
[dev-dependencies]
|
|
criterion.workspace = true
|
|
hex = "0.4"
|
|
rstest.workspace = true
|
|
|
|
[[bench]]
|
|
name = "formats"
|
|
harness = false
|