Compare commits
1 Commits
fix/1427-c
...
fix/issue-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5213555e0 |
@@ -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(
|
||||
|
||||
60
portals.json
60
portals.json
@@ -129,13 +129,21 @@
|
||||
"type": "harness",
|
||||
"params": {
|
||||
"mode": "creative"
|
||||
}
|
||||
},
|
||||
"action_label": "Enter Workshop"
|
||||
},
|
||||
"agents_present": [
|
||||
"timmy",
|
||||
"kimi"
|
||||
],
|
||||
"interaction_ready": true
|
||||
"interaction_ready": true,
|
||||
"access_mode": "visitor",
|
||||
"telemetry_source": "workshop",
|
||||
"world_category": "development",
|
||||
"owner": "Timmy",
|
||||
"portal_type": "creative-tool",
|
||||
"readiness_state": "online",
|
||||
"environment": "production"
|
||||
},
|
||||
{
|
||||
"id": "archive",
|
||||
@@ -157,12 +165,20 @@
|
||||
"type": "harness",
|
||||
"params": {
|
||||
"mode": "read"
|
||||
}
|
||||
},
|
||||
"action_label": "Enter Archive"
|
||||
},
|
||||
"agents_present": [
|
||||
"claude"
|
||||
],
|
||||
"interaction_ready": true
|
||||
"interaction_ready": true,
|
||||
"access_mode": "operator",
|
||||
"telemetry_source": "archive",
|
||||
"world_category": "knowledge",
|
||||
"owner": "Timmy",
|
||||
"portal_type": "data-store",
|
||||
"readiness_state": "online",
|
||||
"environment": "production"
|
||||
},
|
||||
{
|
||||
"id": "chapel",
|
||||
@@ -184,10 +200,18 @@
|
||||
"type": "harness",
|
||||
"params": {
|
||||
"mode": "meditation"
|
||||
}
|
||||
},
|
||||
"action_label": "Enter Chapel"
|
||||
},
|
||||
"agents_present": [],
|
||||
"interaction_ready": true
|
||||
"interaction_ready": true,
|
||||
"access_mode": "visitor",
|
||||
"telemetry_source": "chapel",
|
||||
"world_category": "spiritual",
|
||||
"owner": "Timmy",
|
||||
"portal_type": "reflective-space",
|
||||
"readiness_state": "online",
|
||||
"environment": "production"
|
||||
},
|
||||
{
|
||||
"id": "courtyard",
|
||||
@@ -209,13 +233,21 @@
|
||||
"type": "harness",
|
||||
"params": {
|
||||
"mode": "social"
|
||||
}
|
||||
},
|
||||
"action_label": "Enter Courtyard"
|
||||
},
|
||||
"agents_present": [
|
||||
"timmy",
|
||||
"perplexity"
|
||||
],
|
||||
"interaction_ready": true
|
||||
"interaction_ready": true,
|
||||
"access_mode": "visitor",
|
||||
"telemetry_source": "courtyard",
|
||||
"world_category": "gathering",
|
||||
"owner": "Timmy",
|
||||
"portal_type": "social-space",
|
||||
"readiness_state": "online",
|
||||
"environment": "production"
|
||||
},
|
||||
{
|
||||
"id": "gate",
|
||||
@@ -237,10 +269,18 @@
|
||||
"type": "harness",
|
||||
"params": {
|
||||
"mode": "transit"
|
||||
}
|
||||
},
|
||||
"action_label": "Enter Gate"
|
||||
},
|
||||
"agents_present": [],
|
||||
"interaction_ready": false
|
||||
"interaction_ready": false,
|
||||
"access_mode": "visitor",
|
||||
"telemetry_source": "gate",
|
||||
"world_category": "navigation",
|
||||
"owner": "Timmy",
|
||||
"portal_type": "entry-point",
|
||||
"readiness_state": "online",
|
||||
"environment": "production"
|
||||
},
|
||||
{
|
||||
"id": "playground",
|
||||
|
||||
Reference in New Issue
Block a user