mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-08-17 02:00:34 +00:00
Point ENE scripts at shared data
This commit is contained in:
parent
9c2e28e3e2
commit
6882d08ff4
3 changed files with 5 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ class ENENodeBalancer:
|
||||||
- Latency-aware routing
|
- 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.db_path = db_path
|
||||||
self.nodes: Dict[str, NodeStats] = {}
|
self.nodes: Dict[str, NodeStats] = {}
|
||||||
self.active_connections: Dict[str, NodeConnection] = {}
|
self.active_connections: Dict[str, NodeConnection] = {}
|
||||||
|
|
@ -318,7 +318,7 @@ class ENECloudCredentialManager:
|
||||||
- Access control
|
- 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.db_path = db_path
|
||||||
self.security = ENESecurityManager()
|
self.security = ENESecurityManager()
|
||||||
self.balancer = ENENodeBalancer()
|
self.balancer = ENENodeBalancer()
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,8 @@ except ImportError:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# ── Atlas dependencies (live components) ─────────────────────────────────────
|
# ── 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)
|
# Local Ollama IPv6 carrier — sovereignty rule (see MEMORY.md)
|
||||||
OLLAMA_USER = "http://[::1]:11435"
|
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.")]
|
return [TextContent(type="text", text=f"Error: {module} not found.")]
|
||||||
|
|
||||||
elif name == "get_academic_validation":
|
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():
|
if papers_file.exists():
|
||||||
with open(papers_file) as f:
|
with open(papers_file) as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue