various fixes

This commit is contained in:
Miguel Palhas
2026-06-27 11:21:45 +01:00
parent 753426fd91
commit 559edbe89a
11 changed files with 44 additions and 29 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ if git -C "$DIR" rev-parse --git-dir > /dev/null 2>&1; then
fi
fi
# Format cost
COST_FMT=$(printf "%.2f" "$COST")
# Format cost (force C locale so the decimal separator is always ".")
COST_FMT=$(LC_NUMERIC=C printf "%.2f" "$COST")
echo "YOLO$REPO_PATH$GIT_INFO | [$MODEL] | \$$COST_FMT | ${CONTEXT_USED}%"