浏览代码

fix: wrong path for space litellm config

Jun Siang Cheah 11 月之前
父节点
当前提交
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=$!