sync: auto-sync from GURU-KALI at 2026-05-31 09:36:59
Author: Mike Swanson Machine: GURU-KALI Timestamp: 2026-05-31 09:36:59
This commit is contained in:
@@ -47,6 +47,11 @@ case "$(uname -m)" in
|
||||
esac
|
||||
echo " Architecture: $ARCH"
|
||||
|
||||
# Coord API default — only used if identity.json doesn't already define one.
|
||||
# The on-LAN address works for all on-network/VPN/Tailscale-routed machines today;
|
||||
# off-network boxes should edit identity.json to point at a reachable endpoint.
|
||||
COORD_API_DEFAULT="http://172.16.3.30:8001"
|
||||
|
||||
# Detect Ollama endpoint
|
||||
OLLAMA_ENDPOINT=""
|
||||
OLLAMA_FALLBACK="http://100.101.122.4:11434" # Beast via Tailscale
|
||||
@@ -99,6 +104,10 @@ if 'platform' not in data:
|
||||
if 'architecture' not in data:
|
||||
data['architecture'] = '$ARCH'
|
||||
|
||||
# Coord API endpoint — populate only if absent so existing machines keep their override.
|
||||
if 'coord_api' not in data:
|
||||
data['coord_api'] = '$COORD_API_DEFAULT'
|
||||
|
||||
data['last_updated'] = '$(date -u +"%Y-%m-%dT%H:%M:%SZ")'
|
||||
|
||||
with open('$IDENTITY_PATH_PY', 'w') as f:
|
||||
@@ -116,5 +125,6 @@ echo " ollama.fallback: $OLLAMA_FALLBACK"
|
||||
echo " ollama.prose_model: $PROSE_MODEL"
|
||||
echo " platform: $PLATFORM"
|
||||
echo " architecture: $ARCH"
|
||||
echo " coord_api: (default $COORD_API_DEFAULT if not already set)"
|
||||
echo ""
|
||||
echo "Review: cat $IDENTITY_PATH"
|
||||
|
||||
Reference in New Issue
Block a user