From 2d81660dc58ecb802dd2f0d70f43fcd985843a5f Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 4 Mar 2026 00:23:38 -0500 Subject: [PATCH] feat: refactor header content retrieval in LocalAGI installation script --- install/localagi-install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install/localagi-install.sh b/install/localagi-install.sh index b8c5e4e1f..5fe4ec279 100644 --- a/install/localagi-install.sh +++ b/install/localagi-install.sh @@ -17,7 +17,13 @@ catch_errors setting_up_container network_check update_os -header_info "$APP" +header_content="" +if declare -f get_header >/dev/null 2>&1; then + header_content=$(get_header 2>/dev/null || true) +fi +if [[ -n "$header_content" ]]; then + echo "$header_content" +fi # Decide which runtime backend label to use for LocalAGI. # Priority: