This commit is contained in:
dami
2026-07-22 13:00:43 +08:00
parent 698e3ffd81
commit 8b86cd5e63
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ class App:
if data and data[0]:
lines = data[0].strip().split('\n')
for i, line in enumerate(lines):
if i < 2:
if i < 1:
continue
line = line.strip()
if not line:
+2
View File
@@ -7,6 +7,8 @@ rootPath=$(dirname "$curPath")
rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath")
# cd /www/server/mdserver-web && source /www/server/mdserver-web/bin/activate && python3 /www/server/mdserver-web/plugins/ollama/index.py get_ai_model_list 1.0
action=$1
type=$2