Update memory service with working NocoDB configuration

- Set correct table ID: mx149yctebfwvys (ai_data_Memory)
- Updated type column with SingleSelect options
- Added all required columns for corrections, preferences, episodes, decisions, validation
- Fixed column options for type, severity, status fields
This commit is contained in:
JC Beasley
2026-07-04 17:02:40 -07:00
parent cf3f1e1c53
commit cb5e26b561
453 changed files with 386793 additions and 64 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
# Get vault token
VAULT_RESP=$(curl -sk -X POST \
-d '{"role_id":"75d2dcfb-9c65-7f60-59b4-eee8c7f8dc0e","secret_id":"6202b465-2f25-547c-ec07-f47cfc4dda3e"}' \
"https://beavault.beawit.net:8200/v1/auth/approle/login")
VAULT_TOKEN=$(echo "$VAULT_RESP" | jq -r '.auth.client_token')
# Get nocodb token
NOCODB_TOKEN=$(curl -sk -H "X-Vault-Token: $VAULT_TOKEN" \
"https://beavault.beawit.net:8200/v1/kv/data/api/infrastructure" | \
jq -r '.data.data["nocodb-token"]')
echo "Token: ${NOCODB_TOKEN:0:20}..."
# Test ai_data_Memory table
echo "=== Test ai_data_Memory table (mx149yctebfwvys) ==="
curl -s "http://192.168.25.5:8080/api/v2/tables/mx149yctebfwvys/records" \
-H "xc-token: $NOCODB_TOKEN"