feat : better routing system

This commit is contained in:
martin legrand
2025-03-25 15:44:23 +01:00
parent 68bc60f6f4
commit d871c378fe
16 changed files with 8069 additions and 89 deletions
+1 -12
View File
@@ -1,7 +1,7 @@
#!/bin/bash
SCRIPTS_DIR="scripts"
LLM_ROUTER_DIR="llm-router"
LLM_ROUTER_DIR="llm_router"
echo "Detecting operating system..."
@@ -30,17 +30,6 @@ case "$OS_TYPE" in
exit 1
fi
;;
"MINGW"* | "MSYS"* | "CYGWIN"*)
echo "Detected Windows (via Bash-like environment)"
if [ -f "$SCRIPTS_DIR/windows_install.sh" ]; then
echo "Running Windows installation script..."
bash "$SCRIPTS_DIR/windows_install.sh"
bash "cd $LLM_ROUTER_DIR && dl_safetensors.sh"
else
echo "Error: $SCRIPTS_DIR/windows_install.sh not found!"
exit 1
fi
;;
*)
echo "Unsupported OS detected: $OS_TYPE"
echo "This script supports only Linux and macOS."