mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
refactor location of proxy
This commit is contained in:
parent
baa5564f95
commit
ce58c53ff1
413 changed files with 2087 additions and 2088 deletions
|
@ -109,7 +109,7 @@ def analyze_function(func_info: FunctionInfo) -> Dict:
|
|||
|
||||
for name, type_name in func_info.parameters:
|
||||
if type_name.endswith("Request") or type_name.endswith("Response"):
|
||||
pydantic_model = getattr(litellm.proxy._types, type_name, None)
|
||||
pydantic_model = getattr(litellm_proxy._types, type_name, None)
|
||||
if pydantic_model is not None:
|
||||
for param in pydantic_model.model_fields.keys():
|
||||
pydantic_params.add(param)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue