Compare commits

..

1 Commits

Author SHA1 Message Date
Alexander Whitestone
055c02364e fix: closes #1413 2026-04-14 23:59:14 -04:00
2 changed files with 6 additions and 10 deletions

View File

@@ -1,7 +1,9 @@
#!/usr/bin/env bash
# deploy.sh — spin up (or update) the Nexus staging environment
# Usage: ./deploy.sh — rebuild and restart nexus-main (port 8765)
# ./deploy.sh staging — rebuild and restart nexus-staging (port 8766)
# Usage: ./deploy.sh — rebuild and restart nexus-main (host port 8765)
# ./deploy.sh staging — rebuild and restart nexus-staging (host port 8766)
#
# Both containers internally serve on 8765; docker-compose.yml maps host ports.
set -euo pipefail
SERVICE="${1:-nexus-main}"

View File

@@ -46,9 +46,7 @@ class MemPalaceResult:
def _get_client(palace_path: Path):
"""Return a ChromaDB persistent client, or raise MemPalaceUnavailable."""
try:
import os
os.environ["ANONYMIZED_TELEMETRY"] = "false"
import chromadb # type: ignore
import chromadb # type: ignore
except ImportError as exc:
raise MemPalaceUnavailable(
"ChromaDB is not installed. "
@@ -61,11 +59,7 @@ import chromadb # type: ignore
"Run 'mempalace mine' to initialise the palace."
)
import chromadb.config
return chromadb.PersistentClient(
path=str(palace_path),
settings=chromadb.config.Settings(anonymized_telemetry=False),
)
return chromadb.PersistentClient(path=str(palace_path))
def search_memories(