mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
fix(tests): re-export _pydantic_model_json_schema in utils to resolve test import error
This commit is contained in:
parent
fc87fd9f23
commit
a69d40e11e
2 changed files with 3 additions and 4 deletions
|
|
@ -242,6 +242,7 @@ from litellm import utils as litellm_utils
|
|||
# These are lazy loaded via __getattr__
|
||||
from litellm.llms.base_llm.base_utils import (
|
||||
BaseLLMModelInfo,
|
||||
_pydantic_model_json_schema,
|
||||
type_to_response_format_param,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ import pytest
|
|||
from pydantic import BaseModel, field_validator
|
||||
|
||||
import litellm
|
||||
from litellm.llms.base_llm.base_utils import (
|
||||
_pydantic_model_json_schema,
|
||||
type_to_response_format_param,
|
||||
)
|
||||
from litellm.llms.base_llm.base_utils import type_to_response_format_param
|
||||
from litellm.types.utils import LlmProviders, ModelResponse
|
||||
from litellm.utils import (
|
||||
ProviderConfigManager,
|
||||
|
|
@ -16,6 +13,7 @@ from litellm.utils import (
|
|||
_apply_response_format_validation,
|
||||
_is_basemodel_class,
|
||||
_is_pydantic_basemodel_type,
|
||||
_pydantic_model_json_schema,
|
||||
_should_preserve_pydantic_response_format,
|
||||
normalize_completion_response_format,
|
||||
post_call_processing,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue