fix: deploy.sh Python f-string引号冲突
This commit is contained in:
@@ -68,7 +68,9 @@ ssh -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} "
|
|||||||
/usr/bin/python3 ai/analyze.py --mode rule --force --dsn '${DB_DSN}' 2>&1 | python3 -c '
|
/usr/bin/python3 ai/analyze.py --mode rule --force --dsn '${DB_DSN}' 2>&1 | python3 -c '
|
||||||
import sys, json
|
import sys, json
|
||||||
d = json.load(sys.stdin)
|
d = json.load(sys.stdin)
|
||||||
print(f\" ✓ AI分析完成: {d[\"customers_identified\"]} 个客户, {d[\"summaries_generated\"]} 条摘要\")
|
ci = d[\"customers_identified\"]
|
||||||
|
sg = d[\"summaries_generated\"]
|
||||||
|
print(f\" ✓ AI分析完成: {ci} 个客户, {sg} 条摘要\")
|
||||||
'
|
'
|
||||||
"
|
"
|
||||||
echo " ✓ Mock 数据 + AI 分析完成"
|
echo " ✓ Mock 数据 + AI 分析完成"
|
||||||
|
|||||||
Reference in New Issue
Block a user