refactor(core-utils): rename serde_compat to coercion

This commit is contained in:
Devin AI 2026-10-26 15:22:51 +00:00
parent dddbaa803d
commit b00a97c74a
6 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,5 @@
pub mod call_arguments;
pub mod coercion;
pub mod core_helpers;
pub mod dot_notation_indexing;
pub mod exception_mapping_utils;
@ -7,6 +8,5 @@ pub mod get_provider_specific_headers;
pub mod params;
pub mod prompt_templates;
pub mod secret_redaction;
pub mod serde_compat;
pub mod settings;
pub mod url_utils;

View file

@ -1,6 +1,6 @@
use std::str::FromStr;
use crate::serde_compat::parse_str_bool;
use crate::coercion::parse_str_bool;
pub trait Lookup {
fn get(&self, name: &str) -> Option<String>;

View file

@ -4,7 +4,7 @@ use std::{
};
use litellm_core_utils::{
serde_compat::parse_str_bool,
coercion::parse_str_bool,
settings::{Layer, Lookup, merge},
};

View file

@ -1,4 +1,4 @@
use litellm_core_utils::serde_compat::parse_str_bool;
use litellm_core_utils::coercion::parse_str_bool;
use pyo3::{
exceptions::{PyAttributeError, PyRuntimeError, PyValueError},
prelude::*,

View file

@ -1,7 +1,7 @@
use std::sync::Arc;
use crate::compatibility::python_manager_string;
use litellm_core_utils::{serde_compat::parse_str_bool, settings::Lookup};
use litellm_core_utils::{coercion::parse_str_bool, settings::Lookup};
use crate::state::{LookupTarget, normalize_secret_name};
use crate::{Error, OidcResolver, Secret, SecretManagerState, SecretValue};