fix- refactor proxy place internal user endpoints in sep file

This commit is contained in:
Ishaan Jaff 2024-06-15 16:39:06 -07:00
parent f84941bdc0
commit b718e7ec79
5 changed files with 696 additions and 644 deletions

View file

@ -37,10 +37,7 @@ sys.path.insert(
import pytest, logging, asyncio
import litellm, asyncio
from litellm.proxy.proxy_server import (
new_user,
user_api_key_auth,
user_update,
user_info,
chat_completion,
completion,
embeddings,
@ -57,6 +54,11 @@ from litellm.proxy.management_endpoints.key_management_endpoints import (
generate_key_fn,
generate_key_helper_fn,
)
from litellm.proxy.management_endpoints.internal_user_endpoints import (
new_user,
user_update,
user_info,
)
from litellm.proxy.management_endpoints.team_endpoints import (
team_info,
new_team,