Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

use prints

Ishaan Jaff1ef814dc975d
diff --git a/litellm/proxy/common_utils/admin_ui_utils.py b/litellm/proxy/common_utils/admin_ui_utils.py
index 3389f723d88..25440e59996 100644
--- a/litellm/proxy/common_utils/admin_ui_utils.py
+++ b/litellm/proxy/common_utils/admin_ui_utils.py
@@ -190,9 +190,7 @@ def setup_admin_ui_on_server_root_path():
build_ui_path = os.path.join(current_dir, "build_ui_custom_path.sh")
package_path = os.path.join(current_dir, "package.json")
- verbose_proxy_logger.debug(
- f"Setting up Admin UI on {server_root_path}/ui ......."
- ) # noqa
+ print(f"Setting up Admin UI on {server_root_path}/ui .......") # noqa
try:
# Change the current working directory
@@ -212,21 +210,17 @@ def setup_admin_ui_on_server_root_path():
["./build_ui_custom_path.sh", f"{server_root_path}/ui"], check=True
)
- verbose_proxy_logger.debug("Admin UI setup completed successfully.") # noqa
+ print("Admin UI setup completed successfully.") # noqa
except subprocess.CalledProcessError as e:
- verbose_proxy_logger.debug(
- f"An error occurred during the Admin UI setup: {e}"
- ) # noqa
+ print(f"An error occurred during the Admin UI setup: {e}") # noqa
except Exception as e:
- verbose_proxy_logger.debug(f"An unexpected error occurred: {e}")
+ print(f"An unexpected error occurred: {e}") # noqa
finally:
# Always return to the original directory, even if an error occurred
os.chdir(original_dir)
- verbose_proxy_logger.debug(
- f"Returned to original directory: {original_dir}"
- ) # noqa
+ print(f"Returned to original directory: {original_dir}") # noqa
pass