Update LLMHelper diagnostic reporting and swiftc target version

This commit is contained in:
Adolfo Reyna
2026-08-07 18:29:15 -04:00
parent f579a26cc0
commit 24d6e436a0
2 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -24,12 +24,12 @@ else
fi
fi
if swiftc -O LLMHelper.swift -o llm-helper 2>/dev/null; then
if swiftc -O -parse-as-library -target arm64-apple-macosx26.0 LLMHelper.swift -o llm-helper 2>/dev/null; then
echo "built $HERE/llm-helper"
if ./llm-helper --check >/dev/null 2>&1; then
echo "llm-helper runs — ./llm-helper --check for details"
fi
else
echo "could not build llm-helper with FoundationModels; fallback to Python MLX/PyObjC bridge will be available"
echo "could not build llm-helper with FoundationModels; fallback to Python MLX bridge will be available"
fi