mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix import loc
This commit is contained in:
parent
101c350f98
commit
444acbccf4
5 changed files with 5 additions and 5 deletions
|
@ -262,7 +262,7 @@ async def test_chat_completion_request_with_redaction():
|
|||
|
||||
Ensures that the secret is redacted EVEN on the callback
|
||||
"""
|
||||
from litellm.proxy import proxy_server
|
||||
from litellm_proxy import proxy_server
|
||||
|
||||
setattr(proxy_server, "llm_router", router)
|
||||
_test_logger = testLogger()
|
||||
|
|
|
@ -3295,7 +3295,7 @@ async def test_aadmin_only_routes(prisma_client):
|
|||
"allowed_routes": ["/embeddings", "/key/generate"],
|
||||
"admin_only_routes": ["/key/generate"],
|
||||
}
|
||||
from litellm.proxy import proxy_server
|
||||
from litellm_proxy import proxy_server
|
||||
|
||||
initial_general_settings = getattr(proxy_server, "general_settings")
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ sys.path.insert(
|
|||
0, os.path.abspath("../..")
|
||||
) # Adds-the parent directory to the system path
|
||||
|
||||
from litellm.proxy import proxy_server
|
||||
from litellm_proxy import proxy_server
|
||||
from litellm_proxy.common_utils.encrypt_decrypt_utils import (
|
||||
decrypt_value_helper,
|
||||
encrypt_value_helper,
|
||||
|
|
|
@ -129,7 +129,7 @@ async def test_chat_completion_request_with_redaction(route, body):
|
|||
|
||||
Ensures that the secret is redacted EVEN on the callback
|
||||
"""
|
||||
from litellm.proxy import proxy_server
|
||||
from litellm_proxy import proxy_server
|
||||
|
||||
setattr(proxy_server, "llm_router", router)
|
||||
_test_logger = testLogger()
|
||||
|
|
|
@ -287,7 +287,7 @@ async def test_auth_with_allowed_routes(route, should_raise_error):
|
|||
general_settings = {"allowed_routes": ["/embeddings"]}
|
||||
from fastapi import Request
|
||||
|
||||
from litellm.proxy import proxy_server
|
||||
from litellm_proxy import proxy_server
|
||||
|
||||
initial_general_settings = getattr(proxy_server, "general_settings")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue