mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
Point ENE scripts at shared data
This commit is contained in:
parent
a60b092cff
commit
1225404b72
3 changed files with 5 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ class ENENodeBalancer:
|
|||
- Latency-aware routing
|
||||
"""
|
||||
|
||||
def __init__(self, db_path: str = "/home/allaun/Documents/Research Stack/data/ene_cloud_nodes.db"):
|
||||
def __init__(self, db_path: str = "/home/allaun/Documents/Research Stack/shared-data/data/ene_cloud_nodes.db"):
|
||||
self.db_path = db_path
|
||||
self.nodes: Dict[str, NodeStats] = {}
|
||||
self.active_connections: Dict[str, NodeConnection] = {}
|
||||
|
|
@ -318,7 +318,7 @@ class ENECloudCredentialManager:
|
|||
- Access control
|
||||
"""
|
||||
|
||||
def __init__(self, db_path: str = "/home/allaun/Documents/Research Stack/data/ene_cloud_credentials.db"):
|
||||
def __init__(self, db_path: str = "/home/allaun/Documents/Research Stack/shared-data/data/ene_cloud_credentials.db"):
|
||||
self.db_path = db_path
|
||||
self.security = ENESecurityManager()
|
||||
self.balancer = ENENodeBalancer()
|
||||
|
|
|
|||
|
|
@ -44,7 +44,8 @@ except ImportError:
|
|||
sys.exit(1)
|
||||
|
||||
# ── Atlas dependencies (live components) ─────────────────────────────────────
|
||||
SUBSTRATE_DB = ROOT / "data" / "substrate_index.db"
|
||||
# Point to the actual database location in shared-data
|
||||
SUBSTRATE_DB = Path("/home/allaun/Documents/Research Stack/shared-data/data/substrate_index.db")
|
||||
|
||||
# Local Ollama IPv6 carrier — sovereignty rule (see MEMORY.md)
|
||||
OLLAMA_USER = "http://[::1]:11435"
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ async def call_tool(name: str, arguments: Dict[str, Any]) -> List[TextContent]:
|
|||
return [TextContent(type="text", text=f"Error: {module} not found.")]
|
||||
|
||||
elif name == "get_academic_validation":
|
||||
papers_file = Path("/home/allaun/Documents/Research Stack/data/academic_papers_validation.json")
|
||||
papers_file = Path("/home/allaun/Documents/Research Stack/shared-data/data/academic_papers_validation.json")
|
||||
if papers_file.exists():
|
||||
with open(papers_file) as f:
|
||||
data = json.load(f)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue