소스 검색

fix: wrong path for space litellm config

Jun Siang Cheah 1 년 전
부모
커밋
889a2fd77e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      backend/start.sh

+ 1 - 1
backend/start.sh

@@ -37,7 +37,7 @@ if [ -n "$SPACE_ID" ]; then
   
   # Copy litellm_config.yaml with specified ownership
   echo "Copying litellm_config.yaml to the desired location with specified ownership..."
-  cp ./backend/space/litellm_config.yaml ./data/litellm/config.yaml
+  cp -f ./space/litellm_config.yaml ./data/litellm/config.yaml
 
   WEBUI_SECRET_KEY="$WEBUI_SECRET_KEY" uvicorn main:app --host "$HOST" --port "$PORT" --forwarded-allow-ips '*' &
   webui_pid=$!